-Wwrite-strings nitpicking fix
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:31:31 +0000 (00:31 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 4 Feb 2008 00:31:31 +0000 (00:31 +0000)
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/nutdec.c

index 9b56142..dff09c2 100644 (file)
@@ -359,7 +359,8 @@ static int decode_info_header(NUTContext *nut){
     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);