[FFmpeg-devel] [PATCH] mpegps: skip pes payload during probing to avoid start code emulation
Mon May 24 00:02:43 CEST 2010
On Thu, May 13, 2010 at 05:48:28PM +0200, Michael Niedermayer wrote:
> On Thu, May 13, 2010 at 01:18:37AM +0200, Janne Grunau wrote:
> > Hi,
> > the mpeg ps probe function needs for some evob files a large probe
> > buffer (1M). This is caused by start code emulation in PRIVATE_STREAM_1.
> > Attached patch skips the pes payload for audio and private_stream_1
> > streams. It also validates private_stream_1 streams with check_pes.
> > probetest doesn't find new false positives with the patch.
> > Janne
> > mpeg.c | 8 ++++++--
> > 1 file changed, 6 insertions(+), 2 deletions(-)
> > b2a64bbb838a3b3b50ba19a416ff2e9493b58d92 mpegps_evob_probe_start_code_emulation.diff
> if tested its probably ok
It's already committed to mythtv trunk and there are no reported
problems with this version.
More information about the ffmpeg-devel