[FFmpeg-devel] [PATCH]Fix MPlayer segfault
Gwenole Beauchesne
gbeauchesne
Wed Feb 25 17:00:47 CET 2009
On Wed, 25 Feb 2009, Carl Eugen Hoyos wrote:
> MPlayer currently crashes if one tries playback of VC1 or WMV3.
> Attached patch fixes the segfault.
The reason is vc1_decode_init() is calling the h263dec.c init function and
that one depends on valid ->pix_fmts. Shouldn't the default ::get_format()
check for NULL fmt[] and return PIX_FMT_NONE in that case? That'd be the
better fix, isn't it?
Anyhow, I also have another fix that will be posted for a new HWAccel
series.
More information about the ffmpeg-devel
mailing list