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

Michael Niedermayer michaelni at gmx.at
Fri May 24 18:55:03 CEST 2002


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

[...]

Michael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer-2.95.2-workaround-20020524-michael.patch
Type: text/x-diff
Size: 1343 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-users/attachments/20020524/ad612364/attachment.patch>


More information about the MPlayer-users mailing list