[FFmpeg-cvslog] mp3enc: fix const correctness

Michael Niedermayer git at videolan.org
Thu Aug 30 18:04:41 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Aug 30 17:56:38 2012 +0200| [370bb893d2be1348529eee43f7d1169cda0db43c] | committer: Michael Niedermayer

mp3enc: fix const correctness

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=370bb893d2be1348529eee43f7d1169cda0db43c
---

 libavformat/mp3enc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index 1ecad04..2cdb096 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');



More information about the ffmpeg-cvslog mailing list