diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 00:31:31 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-02-04 00:31:31 +0000 |
commit | 7ebab679012930ed7829c234c08a4ea307ea633a (patch) | |
tree | f64a38641424248d920fbf4f81e362aaaf932c71 | |
parent | 4cf97abb98fb5755342ee7eb0d15cc4786387b5e (diff) | |
download | ffmpeg-7ebab679012930ed7829c234c08a4ea307ea633a.tar.gz |
-Wwrite-strings nitpicking fix
Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/nutdec.c | 3 |
1 files changed, 2 insertions, 1 deletions
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); |