X-Git-Url: https://git.libav.org/?p=libav.git;a=blobdiff_plain;f=libavformat%2Fnutdec.c;h=b637bb4f4b23c401527339d1a74bea03a89e51e6;hp=1519a652c32fcbed62ecdb8a27c21a4646a77b93;hb=5e53486545726987ab4482321d4dcf7e23e7652f;hpb=f1cc49a68e342b9990052b54af7f91525c982353 diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c index 1519a652c3..b637bb4f4b 100644 --- a/libavformat/nutdec.c +++ b/libavformat/nutdec.c @@ -531,7 +531,7 @@ static int nut_read_header(AVFormatContext *s, AVFormatParameters *ap) NUTContext *nut = s->priv_data; ByteIOContext *bc = s->pb; int64_t pos; - int inited_stream_count; + int initialized_stream_count; nut->avf= s; @@ -547,14 +547,14 @@ static int nut_read_header(AVFormatContext *s, AVFormatParameters *ap) /* stream headers */ pos=0; - for(inited_stream_count=0; inited_stream_count < s->nb_streams;){ + for(initialized_stream_count=0; initialized_stream_count < s->nb_streams;){ pos= find_startcode(bc, STREAM_STARTCODE, pos)+1; if (pos<0+1){ av_log(s, AV_LOG_ERROR, "Not all stream headers found.\n"); return -1; } if(decode_stream_header(nut) >= 0) - inited_stream_count++; + initialized_stream_count++; } /* info headers */