This fixes the code so it is correct on both sides of the if().

Originally committed as revision 12902 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer 2008-04-19 11:14:55 +00:00
parent 7bc5f6e53e
commit 8870cf8277
1 changed files with 3 additions and 1 deletions

View File

@ -51,8 +51,10 @@ get_next:
}else{
i-= s->header_size -1;
s->remaining_size = len;
if(!new_frame_start)
if(!new_frame_start){
s->remaining_size += i;
goto get_next;
}
}
}
}