[FFmpeg-devel] [PATCH 1/5] mxfdec: Truncate packets that extend past the next edit unit

Michael Niedermayer michaelni at gmx.at
Thu Mar 8 00:43:24 CET 2012


On Wed, Mar 07, 2012 at 02:07:56PM +0100, Tomas Härdin wrote:
> Hi
> 
> This patch set is an attempt at dealing with various IMX (aka D-10) MXF
> files. The goal is for PTS to be set properly - at the moment the
> packets only get DTS set, via utils.c.
> 
> All patches except for the last one pass make fate.
> 
> Samples:
> http://titan.codemill.se/~tomhar/samples/abcdefghiv016f56415e.mxf (for
> the first two patches)
> http://titan.codemill.se/~tomhar/samples/sony-d10.mxf (for the rest)
> 
> This particular patch is merely to ensure that the demuxer doesn't eat
> up all RAM and spend ages probing the first file.
> 
> /Tomas

>  mxfdec.c |   55 +++++++++++++++++++++++++++++++++++++++++--------------
>  1 file changed, 41 insertions(+), 14 deletions(-)
> aacc2039718571d4b71ade5dcf3c685fb657f339  0001-mxfdec-Truncate-packets-that-extend-past-the-next-ed.patch
> From f46858cdd05f4ee1e2afc1ea93d42d21348adc67 Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <tomas.hardin at codemill.se>
> Date: Fri, 2 Mar 2012 11:16:10 +0100
> Subject: [PATCH 1/5] mxfdec: Truncate packets that extend past the next edit
>  unit
> 
> This fixes rare cases where OPAtom may be treated as OP1a, causing all essence
> to be read into RAM.

applied

Thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The educated differ from the uneducated as much as the living from the
dead. -- Aristotle 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120308/6fc4a48e/attachment.asc>


More information about the ffmpeg-devel mailing list