Commit 64f6f6f8 authored by Anton Khirnov's avatar Anton Khirnov

lavf: remove disabled FF_API_GUESS_IMG2_CODEC cruft

parent 21824e5b
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment