[FFmpeg-devel] [PATCH] lavf/mxfdec.c: fix MXF essence body offsets when only 1 body partition

Matthieu Bouron matthieu.bouron at gmail.com
Fri Mar 8 10:17:06 CET 2013

On Wed, Mar 06, 2013 at 04:37:57PM +0000, Jason Livingston wrote:
> I was having trouble with some Avid OP-Atom MXF files that contain only 1 essence track and only 1 body partition with all the frames.  After the first call to av_read_frame(), it would return AVERROR_INVALIDDATA from mxf_absolute_bodysid_offset():
> [mxf @ xxx] failed to find absolute offset of 100 in BodySID 1 - partial file?
> The attached patch fixes this case which is probably pretty rare, but it shouldn't negatively affect anything else.
> Unfortunately I can't distribute my sample file but I could probably construct one if necessary.


Can you provide a sample ?

Thanks in advance,

More information about the ffmpeg-devel mailing list