diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index a515fb1f54..1ecad043fb 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -370,10 +370,10 @@ static int mp2_write_trailer(struct AVFormatContext *s) return 0; } -static int query_codec(enum CodecID id, int std_compliance) +static int query_codec(enum AVCodecID id, int std_compliance) { CodecMime *cm= ff_id3v2_mime_tags; - while(cm->id != CODEC_ID_NONE) { + while(cm->id != AV_CODEC_ID_NONE) { if(id == cm->id) return MKTAG('A', 'P', 'I', 'C'); cm++;