[FFmpeg-devel] [PATCH 1/3] ffmpeg: fix a crash with complex filters when pix_fmt is not specified

Matthieu Bouron matthieu.bouron at gmail.com
Thu May 3 15:57:49 CEST 2012


On Thu, May 03, 2012 at 03:42:19PM +0200, Nicolas George wrote:
> Le quintidi 15 floréal, an CCXX, Matthieu Bouron a écrit :
> > It happens because configure_complex_filters is called before the encoder
> > context is allocated in transcode_init.
> > 
> > Example: ffmpeg -i input.mxf -filter_complex "[0:0]fieldorder=tff" output.mxf
> 
> It works for me, both with MXF and non-MXF inputs and outputs.

My bad, this patch fix a segv for:
  ffmpeg -i input.mxf -filter_complex "[0:0]fieldorder=tff" output.wav


More information about the ffmpeg-devel mailing list