Commit f6e2b5cd authored by michael's avatar michael

Fix all the recent problems Justin had run into with the AC3 parser,

including issue 459.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15381 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent a983e6d0
......@@ -51,7 +51,7 @@ get_next:
}else{
i-= s->header_size -1;
s->remaining_size = len;
if(!new_frame_start){
if(!new_frame_start || pc->index+i<=0){
s->remaining_size += i;
goto get_next;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment