Commit a20c0b9a authored by michael's avatar michael

Favor container packets that end after the first byte of the access

unit in fetch_timestamp(). This should make no difference for valid
streams but may help invalid ones, also its needed for future changes.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@17732 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 0b1b16e1
......@@ -96,6 +96,8 @@ void ff_fetch_timestamp(AVCodecParserContext *s, int off, int remove){
s->offset = s->next_frame_offset - s->cur_frame_offset[i];
if(remove)
s->cur_frame_offset[i]= INT64_MAX;
if(s->cur_offset + off < s->cur_frame_end[i])
break;
}
}
}
......
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