Browse Source

missing " && j<syncpoint_count" protection in the index parsing, as the

spec instructs...

Originally committed as revision 11852 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Oded Shimon 17 years ago
parent
commit
b19e3983cf
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/nutdec.c

+ 1
- 1
libavformat/nutdec.c View File

@@ -501,7 +501,7 @@ static int find_and_decode_index(NUTContext *nut){
return -1;
}
assert(n<=syncpoint_count+1);
for(; j<n; j++){
for(; j<n && j<syncpoint_count; j++){
if(has_keyframe[j]){
uint64_t B, A= ff_get_v(bc);
if(!A){


Loading…
Cancel
Save