summaryrefslogtreecommitdiff
path: root/libavformat/mp3enc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-30 17:56:38 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-30 17:56:38 +0200
commit370bb893d2be1348529eee43f7d1169cda0db43c (patch)
tree0f86b383b45625ebe7b4287ad2b33964c95461df /libavformat/mp3enc.c
parent0e781d9405093c0b95086eae8793ed31cbe6eb5b (diff)
downloadffmpeg-370bb893d2be1348529eee43f7d1169cda0db43c.tar.gz
mp3enc: fix const correctness
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mp3enc.c')
-rw-r--r--libavformat/mp3enc.c2
1 files changed, 1 insertions, 1 deletions
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');