[FFmpeg-devel] [PATCH] mpegps: skip pes payload during probing to avoid start code emulation

Michael Niedermayer michaelni
Thu May 13 17:48:28 CEST 2010

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

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20100513/ad3d78fa/attachment.pgp>

More information about the ffmpeg-devel mailing list