Commit bd6ece46 authored by Michael Niedermayer's avatar Michael Niedermayer

mp3enc: fix CODEC_ID/CodecID that leaked in from older patch

Found-by: 's avatarjamal <jamrial@gmail.com>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent e874b292
...@@ -370,10 +370,10 @@ static int mp2_write_trailer(struct AVFormatContext *s) ...@@ -370,10 +370,10 @@ static int mp2_write_trailer(struct AVFormatContext *s)
return 0; 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; CodecMime *cm= ff_id3v2_mime_tags;
while(cm->id != CODEC_ID_NONE) { while(cm->id != AV_CODEC_ID_NONE) {
if(id == cm->id) if(id == cm->id)
return MKTAG('A', 'P', 'I', 'C'); return MKTAG('A', 'P', 'I', 'C');
cm++; cm++;
......
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