mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
lavf: remove disabled FF_API_GUESS_IMG2_CODEC cruft
This commit is contained in:
parent
21824e5b88
commit
64f6f6f836
@ -1191,10 +1191,6 @@ AVProgram *av_new_program(AVFormatContext *s, int id);
|
||||
*/
|
||||
|
||||
|
||||
#if FF_API_GUESS_IMG2_CODEC
|
||||
attribute_deprecated enum CodecID av_guess_image2_codec(const char *filename);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @addtogroup lavf_decoding
|
||||
* @{
|
||||
|
@ -199,12 +199,6 @@ enum CodecID ff_guess_image2_codec(const char *filename)
|
||||
return av_str2id(img_tags, filename);
|
||||
}
|
||||
|
||||
#if FF_API_GUESS_IMG2_CODEC
|
||||
enum CodecID av_guess_image2_codec(const char *filename){
|
||||
return av_str2id(img_tags, filename);
|
||||
}
|
||||
#endif
|
||||
|
||||
static int read_header(AVFormatContext *s1)
|
||||
{
|
||||
VideoData *s = s1->priv_data;
|
||||
|
@ -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_GUESS_IMG2_CODEC
|
||||
#define FF_API_GUESS_IMG2_CODEC (LIBAVFORMAT_VERSION_MAJOR < 54)
|
||||
#endif
|
||||
#ifndef FF_API_SDP_CREATE
|
||||
#define FF_API_SDP_CREATE (LIBAVFORMAT_VERSION_MAJOR < 54)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user