From d8bde114fd9685111274713c03985c72de3377b1 Mon Sep 17 00:00:00 2001 From: wm4 Date: Sat, 9 Mar 2013 08:49:56 +0100 Subject: Prefix CODEC_ID_ with AV_ The old names have been deprecated a while ago, but were needed for supporting older ffmpeg/libav versions. The deprecated identifiers have been removed from recent Libav and FFmpeg git. This change breaks compatibility with Libav 0.8.x and equivalent FFmpeg releases. --- demux/codec_tags.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'demux/codec_tags.c') diff --git a/demux/codec_tags.c b/demux/codec_tags.c index 429da5582c..d1a6cee65f 100644 --- a/demux/codec_tags.c +++ b/demux/codec_tags.c @@ -349,7 +349,7 @@ static const char *lookup_tag(const struct mp_codec_tag *mp_table, } const struct AVCodecTag *av_tags[] = {av_table, NULL}; int id = av_codec_get_id(av_tags, tag); - return id == CODEC_ID_NONE ? NULL : mp_codec_from_av_codec_id(id); + return id == AV_CODEC_ID_NONE ? NULL : mp_codec_from_av_codec_id(id); } void mp_set_video_codec_from_tag(struct sh_video *sh) -- cgit v1.2.3