mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-02-09 21:53:10 +00:00
Reset state after some frame header is found.
Fixes issue704 Originally committed as revision 15742 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2cdba8bfc4
commit
bf2cdefc6a
@ -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){
|
||||
|
Loading…
x
Reference in New Issue
Block a user