Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
BC
public
external
ffmpeg
Commits
5048e36c
Commit
5048e36c
authored
Feb 03, 2011
by
Anton Khirnov
Browse files
lavf: remove FF_API_URL_SPLIT cruft
parent
c4efa7c2
Changes
3
Hide whitespace changes
Inline
Side-by-side
libavformat/internal.h
View file @
5048e36c
...
...
@@ -79,18 +79,6 @@ void ff_read_frame_flush(AVFormatContext *s);
/** Get the current time since NTP epoch in microseconds. */
uint64_t
ff_ntp_time
(
void
);
#if FF_API_URL_SPLIT
/**
* @deprecated use av_url_split() instead
*/
void
ff_url_split
(
char
*
proto
,
int
proto_size
,
char
*
authorization
,
int
authorization_size
,
char
*
hostname
,
int
hostname_size
,
int
*
port_ptr
,
char
*
path
,
int
path_size
,
const
char
*
url
);
#endif
/**
* Assemble a URL string from components. This is the reverse operation
* of av_url_split.
...
...
libavformat/utils.c
View file @
5048e36c
...
...
@@ -3517,24 +3517,6 @@ void av_pkt_dump_log2(void *avcl, int level, AVPacket *pkt, int dump_payload,
pkt_dump_internal
(
avcl
,
NULL
,
level
,
pkt
,
dump_payload
,
st
->
time_base
);
}
#if FF_API_URL_SPLIT
attribute_deprecated
void
ff_url_split
(
char
*
proto
,
int
proto_size
,
char
*
authorization
,
int
authorization_size
,
char
*
hostname
,
int
hostname_size
,
int
*
port_ptr
,
char
*
path
,
int
path_size
,
const
char
*
url
)
{
av_url_split
(
proto
,
proto_size
,
authorization
,
authorization_size
,
hostname
,
hostname_size
,
port_ptr
,
path
,
path_size
,
url
);
}
#endif
void
av_url_split
(
char
*
proto
,
int
proto_size
,
char
*
authorization
,
int
authorization_size
,
char
*
hostname
,
int
hostname_size
,
...
...
libavformat/version.h
View file @
5048e36c
...
...
@@ -47,9 +47,6 @@
#ifndef FF_API_URL_CLASS
#define FF_API_URL_CLASS (LIBAVFORMAT_VERSION_MAJOR >= 53)
#endif
#ifndef FF_API_URL_SPLIT
#define FF_API_URL_SPLIT (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
#ifndef FF_API_ALLOC_FORMAT_CONTEXT
#define FF_API_ALLOC_FORMAT_CONTEXT (LIBAVFORMAT_VERSION_MAJOR < 53)
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment