From 370bb893d2be1348529eee43f7d1169cda0db43c Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 30 Aug 2012 17:56:38 +0200 Subject: mp3enc: fix const correctness Signed-off-by: Michael Niedermayer --- libavformat/mp3enc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat') diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c index 1ecad043fb..2cdb0964db 100644 --- a/libavformat/mp3enc.c +++ b/libavformat/mp3enc.c @@ -372,7 +372,7 @@ static int mp2_write_trailer(struct AVFormatContext *s) static int query_codec(enum AVCodecID id, int std_compliance) { - CodecMime *cm= ff_id3v2_mime_tags; + const CodecMime *cm= ff_id3v2_mime_tags; while(cm->id != AV_CODEC_ID_NONE) { if(id == cm->id) return MKTAG('A', 'P', 'I', 'C'); -- cgit v1.2.3