OSDN Git Service

In mpeg1/2 timestamps are associated with the access unit which
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jun 2008 02:43:17 +0000 (02:43 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 3 Jun 2008 02:43:17 +0000 (02:43 +0000)
commitd59591fb02c29b41e5b8d611160971a4493394c2
treed6dc37569885195d95202d3b5706589af8df9caa
parentd3ad044ad5a28216147196f61671037d1c5960b4
In mpeg1/2 timestamps are associated with the access unit which
contains the first picture startcode that commences in the PES
packet, instead of the first access unit that commences in the
PES packet. Fix the parser to
handle that properly. This was a very long standing bug ...
The change to the seek regressions is because the mpeg ts muxer
stores too many invalid and randomized timestamps which overflow
the 4 entry buffer we use in the parser.

Originally committed as revision 13643 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/mpegvideo_parser.c
tests/seek.regression.ref