[FFmpeg-cvslog] r11842 - trunk/libavformat/nutdec.c

michael subversion
Mon Feb 4 01:31:31 CET 2008


Author: michael
Date: Mon Feb  4 01:31:31 2008
New Revision: 11842

Log:
-Wwrite-strings nitpicking fix


Modified:
   trunk/libavformat/nutdec.c

Modified: trunk/libavformat/nutdec.c
==============================================================================
--- trunk/libavformat/nutdec.c	(original)
+++ trunk/libavformat/nutdec.c	Mon Feb  4 01:31:31 2008
@@ -359,7 +359,8 @@ static int decode_info_header(NUTContext
     unsigned int stream_id_plus1, chapter_start, chapter_len, count;
     int chapter_id, i;
     int64_t value, end;
-    char name[256], str_value[1024], type_str[256], *type= type_str;
+    char name[256], str_value[1024], type_str[256];
+    const char *type= type_str;
 
     end= get_packetheader(nut, bc, 1, INFO_STARTCODE);
     end += url_ftell(bc);




More information about the ffmpeg-cvslog mailing list