Commit 46f661e9 authored by michael's avatar michael

dont do startcode search from last syncpoint if there are no errors


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@6969 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ff9e5292
...@@ -699,8 +699,10 @@ resync: ...@@ -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);
......
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