[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:21:37 CEST 2012


On Thu, May 03, 2012 at 03:09:14PM +0200, Nicolas George wrote:
> Le quintidi 15 floréal, an CCXX, Matthieu Bouron a écrit :
> > ---
> >  ffmpeg.c |    4 +++-
> >  1 file changed, 3 insertions(+), 1 deletion(-)
> 
> Can you say in a few words under what circumstances that happens? No
> -pix_fmt seems a necessary condition, but ost->enc should not be NULL
> either.

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

[...]


More information about the ffmpeg-devel mailing list