mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-28 05:30:34 +00:00
lavf: remove disabled FF_API_DUMP_FORMAT cruft
This commit is contained in:
parent
2fb7501938
commit
997420abf2
@ -1731,12 +1731,6 @@ void av_url_split(char *proto, int proto_size,
|
||||
char *path, int path_size,
|
||||
const char *url);
|
||||
|
||||
#if FF_API_DUMP_FORMAT
|
||||
attribute_deprecated void dump_format(AVFormatContext *ic,
|
||||
int index,
|
||||
const char *url,
|
||||
int is_output);
|
||||
#endif
|
||||
|
||||
void av_dump_format(AVFormatContext *ic,
|
||||
int index,
|
||||
|
@ -3282,16 +3282,6 @@ static void dump_stream_format(AVFormatContext *ic, int i, int index, int is_out
|
||||
dump_metadata(NULL, st->metadata, " ");
|
||||
}
|
||||
|
||||
#if FF_API_DUMP_FORMAT
|
||||
void dump_format(AVFormatContext *ic,
|
||||
int index,
|
||||
const char *url,
|
||||
int is_output)
|
||||
{
|
||||
av_dump_format(ic, index, url, is_output);
|
||||
}
|
||||
#endif
|
||||
|
||||
void av_dump_format(AVFormatContext *ic,
|
||||
int index,
|
||||
const char *url,
|
||||
|
@ -47,9 +47,6 @@
|
||||
* Those FF_API_* defines are not part of public API.
|
||||
* They may change, break or disappear at any time.
|
||||
*/
|
||||
#ifndef FF_API_DUMP_FORMAT
|
||||
#define FF_API_DUMP_FORMAT (LIBAVFORMAT_VERSION_MAJOR < 54)
|
||||
#endif
|
||||
#ifndef FF_API_PARSE_DATE
|
||||
#define FF_API_PARSE_DATE (LIBAVFORMAT_VERSION_MAJOR < 54)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user