[MPlayer-users] [PATCH] Seg fault in YSCALEYUV2YV12X called from yuv2yuvX doing vertical rescaling

Stephen Davies steve at daviesfam.org
Fri May 24 19:15:02 CEST 2002


On Fri, 24 May 2002, Michael Niedermayer wrote:

> Hi
> 
> On Friday 24 May 2002 17:36, Stephen Davies wrote:
> [...]
> > I'm hitting a segfault in CVS mencoder trying to do vertical rescaling.  I
> > hit the same problem for mpeg1, mpeg2 (dvb) and divx4 source
> > files.  Output to libavcodec or divx4.  Horizontal scaling works fine.
> >
> > The segfault occurs within yuv2yuvX (my box has MMX).  Specically, falls
> > over in YSCALEYUV2YV12X.  As far as I see its on the first frame or
> > near...
> known gcc 2.95.2 bug
> 
> [...]
> > * gcc and ld versions:
> >
> > Reading specs from /usr/lib/gcc-lib/i586-mandrake-linux/2.95.3/specs
> > gcc version 2.95.3 19991030 (prerelease)
> hmm ...
> 
> anyway i attached a patch, this will slow things down a tiny bit and 
> hopefully fix the scaling 2.95.2/.3 prerelease issue
> iirc i allready did send a patch a long time ago but noone confirmed if it 
> helped or not ...
> if it works than it should be added to that unapplied patches section imho


Hi Michael - it works for me - thanks.

All this time I believed I had a 2.95.3 compiler - certainly gcc --version
announced 2.95.3.

Looking on rpmfind.net, looks like there never was a Mandrake 2.95.3
proper.

What is the preferred gcc version for mplayer nowadays, then?

Thanks,
Steve




More information about the MPlayer-users mailing list