[FFmpeg-devel] [PATCH] mxfdec: Move FooterPartition to MXFContext and make sure it's never set to zero

Michael Niedermayer michaelni at gmx.at
Mon Oct 10 18:56:13 CEST 2011


On Mon, Oct 10, 2011 at 04:28:02PM +0200, Tomas Härdin wrote:
> On Tue, 2011-09-27 at 11:13 +0200, Tomas Härdin wrote:
> > This is the magic that makes XDCAM demuxing not take ages. I have a 2
> > GiB test file demonstrating this if anyone's interested.
> 
> It turns out this patch doesn't properly handle files where
> FooterPartition isn't properly set in all partitions. mxfenc's output is
> an example of this - FooterPartition is only properly set in the header.
> I opted to deal with this in the demuxer since mxfenc is probably not
> the only writer to do this.
> 
> Anyway, the attached patch takes any non-zero FooterPartition value and
> sticks it in MXFContext for later use.
> 
> /Tomas

>  mxfdec.c |   17 ++++++++++++++---
>  1 file changed, 14 insertions(+), 3 deletions(-)
> 355b7dfbae6ede2e3e8f5f25f025608080c46ff9  0001-mxfdec:-Move-FooterPartition-to-MXFContext-and-make-sure-it_s-never-set-to-zero.patch
> From 889032bf543d02a9fafbc8bcc38e0bab1d45775c Mon Sep 17 00:00:00 2001
> From: =?UTF-8?q?Tomas=20H=C3=A4rdin?= <tomas.hardin at codemill.se>
> Date: Fri, 7 Oct 2011 15:48:00 +0200
> Subject: [PATCH] mxfdec: Move FooterPartition to MXFContext and make sure it's never set to zero

applied

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

There seems to be only one solution to NIH syndrom, ... a shooting squad
-------------- 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/20111010/bab7b5aa/attachment.asc>


More information about the ffmpeg-devel mailing list