1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

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

Found-by: jamal <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-11 01:25:19 +02:00
parent e874b29296
commit bd6ece4609

View File

@ -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++;