[FFmpeg-cvslog] r11847 - trunk/libavformat/mp3.c

michael subversion
Mon Feb 4 02:01:52 CET 2008


Author: michael
Date: Mon Feb  4 02:01:52 2008
New Revision: 11847

Log:
Another const found by -Wwrite-strings.


Modified:
   trunk/libavformat/mp3.c

Modified: trunk/libavformat/mp3.c
==============================================================================
--- trunk/libavformat/mp3.c	(original)
+++ trunk/libavformat/mp3.c	Mon Feb  4 02:01:52 2008
@@ -564,7 +564,7 @@ static void id3v2_put_size(AVFormatConte
     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);




More information about the ffmpeg-cvslog mailing list