[MPlayer-dev-eng] segfault when playing mjpegs

Wojtek Kaniewski wojtekka at bydg.pdi.net
Tue May 20 19:08:04 CEST 2003


mplayer segfaults in vd_ffmpeg:669 when yuv2 files (mjpegs for example)
are decoded. the line is:

    yuv422ptoyuy2(pic->data[0],pic->data[1],pic->data[2],

but yuv422ptoyuy2 is uninitialized. i found its initialization in
sws_rgb2rgb_init() (postproc/rgb2rgb.c), but it isn't called unless
,,-vf scale'' is used. i don't understand mplayer's video layer, so
i can't propose any solution. could anyone take a look at it, please?
it's pretty annoying.

regards,
wojtek



More information about the MPlayer-dev-eng mailing list