mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
dont do startcode search from last syncpoint if there are no errors
Originally committed as revision 6969 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
faf7cbf110
commit
9a626982f9
@ -699,8 +699,10 @@ resync:
|
|||||||
|
|
||||||
do{
|
do{
|
||||||
frame_code= get_byte(bc);
|
frame_code= get_byte(bc);
|
||||||
if(frame_code == 'N') //FIXME update pos
|
if(frame_code == 'N'){
|
||||||
|
pos= url_ftell(bc)-1;
|
||||||
goto resync;
|
goto resync;
|
||||||
|
}
|
||||||
//FIXME consider pos_limit and eof
|
//FIXME consider pos_limit and eof
|
||||||
size= decode_frame_header(nut, &flags, &pts, &stream_id, frame_code);
|
size= decode_frame_header(nut, &flags, &pts, &stream_id, frame_code);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user