changeset 3005:d1a8a747d85f libavformat

-Wwrite-strings nitpicking fix
author michael
date Mon, 04 Feb 2008 00:31:31 +0000
parents 327814e7bf03
children fa2fb523fd6b
files nutdec.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/nutdec.c	Mon Feb 04 00:26:43 2008 +0000
+++ b/nutdec.c	Mon Feb 04 00:31:31 2008 +0000
@@ -359,7 +359,8 @@
     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);