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

Tomas Härdin tomas.hardin at codemill.se
Mon Oct 10 16:28:02 CEST 2011


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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-mxfdec:-Move-FooterPartition-to-MXFContext-and-make-sure-it's-never-set-to-zero.patch
Type: text/x-patch
Size: 2537 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111010/9147f8bb/attachment.bin>


More information about the ffmpeg-devel mailing list