[FFmpeg-devel] [PATCH] lavf/mxfdec.c: fix MXF essence body offsets when only 1 body partition
jason at cpcweb.com
Wed Mar 6 17:37:57 CET 2013
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1250 bytes
More information about the ffmpeg-devel