mp3enc: fix const correctness
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Aug 2012 15:56:38 +0000 (17:56 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 30 Aug 2012 15:56:38 +0000 (17:56 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mp3enc.c

index 1ecad04..2cdb096 100644 (file)
@@ -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');