[MPlayer-dev-eng] segfault when playing mjpegs
Arpi
arpi at thot.banki.hu
Wed May 21 12:15:47 CEST 2003
Hi,
> > >
> > > 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.
> > Ah yes ;) and thanks for the report!
> >
> > Attached a possible fix. Michael?
>
> Why does this code even exist?
when i added it (years ago) there was no 422p support in mplayer/swscaler
> vd_ffmpeg should just output 422p and
> force vf_scale to get loaded. That will improve and/or simplify the DR
> situation too.
agree
A'rpi / Astral & ESP-team
--
Developer of MPlayer G2, the Movie Framework for all - http://www.MPlayerHQ.hu
More information about the MPlayer-dev-eng
mailing list