Another const found by -Wwrite-strings.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 01:01:52 +0000 (01:01 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 01:01:52 +0000 (01:01 +0000)
Originally committed as revision 11847 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/mp3.c

index 5d6af0f..64e0ce2 100644 (file)
@@ -564,7 +564,7 @@ static void id3v2_put_size(AVFormatContext *s, int size)
     put_byte(s->pb, size       & 0x7f);
 }
 
-static void id3v2_put_ttag(AVFormatContext *s, char *string, uint32_t tag)
+static void id3v2_put_ttag(AVFormatContext *s, const char *string, uint32_t tag)
 {
     int len = strlen(string);
     put_be32(s->pb, tag);