From 7ebab679012930ed7829c234c08a4ea307ea633a Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Mon, 4 Feb 2008 00:31:31 +0000 Subject: [PATCH] -Wwrite-strings nitpicking fix Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/nutdec.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 9b56142d53..dff09c220d 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -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);