[FFmpeg-devel] [PATCH] fix segfault in mxf demuxer
nigel.touatievans at gmail.com
Mon Mar 21 12:06:57 CET 2011
Hi, I have an MXF file which causes ffmpeg to seg fault. My file has a
material track with two structural references, the first of which is
fine, and the second is not actually in the file (so
mxf_resolve_strong_ref returns null).
I have fixed decoding this file by changing the condition at the end
of the loop - it now breaks the loop once it finds a valid source
package rather than when it doesn't, and I've moved the error message
to be outside the loop if it failed to find anything at all.
I have also added a warning if there are source clips that might be
being ignored (previously all but the last clip would be ignored with
no warning, now all but the first valid clip will be ignored, and
there is a warning, which I think is better).
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1241 bytes
Desc: not available
More information about the ffmpeg-devel