Commit 45f226cb authored by michael's avatar michael

Reset state after some frame header is found.

Fixes issue704


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@15742 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 8f18a028
......@@ -49,6 +49,7 @@ get_next:
if(len<=0){
i=END_NOT_FOUND;
}else{
s->state=0;
i-= s->header_size -1;
s->remaining_size = len;
if(!new_frame_start || pc->index+i<=0){
......
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