-Wwrite-strings nitpicking fix

Originally committed as revision 11842 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-02-04 00:31:31 +00:00
parent 4cf97abb98
commit 7ebab67901
1 changed files with 2 additions and 1 deletions

View 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);