mirror of https://git.ffmpeg.org/ffmpeg.git
Fix all the recent problems Justin had run into with the AC3 parser,
including issue 459. Originally committed as revision 15381 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
48e025e5b6
commit
8dbd9cb695
|
@ -51,7 +51,7 @@ get_next:
|
||||||
}else{
|
}else{
|
||||||
i-= s->header_size -1;
|
i-= s->header_size -1;
|
||||||
s->remaining_size = len;
|
s->remaining_size = len;
|
||||||
if(!new_frame_start){
|
if(!new_frame_start || pc->index+i<=0){
|
||||||
s->remaining_size += i;
|
s->remaining_size += i;
|
||||||
goto get_next;
|
goto get_next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue