[MPlayer-users] All XVID encoded videos with size 624x352 cause mplayer to segfault (current and previous svn snapshots)

Mike Gorchak mike.gorchak.qnx at gmail.com
Tue Feb 5 16:11:36 CET 2013


>> #0  0x0861620b in ff_put_pixels16_sse2 (dest_y=09CBF018,
>> ptr_y=09C3C018, linesize=640, h=16)
> Can you confirm that it works fine with --disable-sse2 ?

Yes, with --disable-sse2 all videos are playing fine. But following
warning always appears:

[swscaler @ 8ef4020]Warning: data is not aligned! This can lead to a speedloss

I've enabled debug output for swScaler() function, here is an output:

[swscaler @ 8ef42c0]BICUBIC scaler, from yuv420p to yuyv422 using MMXEXT
swScale() 9db1018[640] 9e0ec18[320] 9dfc018[320] 0[640] ->
a1bf5e0[1280] 0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 0 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4
swScale() 9ef2018[640] 9f4fc18[320] 9f3d018[320] 0[640] ->
a1bf5e0[1280] 0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 480 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4
swScale() a01bfe0[640] a0673e0[320] a07a3e0[320] 0[0] -> a1bf5e0[1280]
0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 480 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4
swScale() a13dfe0[640] a1893e0[320] a19c3e0[320] 0[0] -> a1bf5e0[1280]
0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 480 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4
swScale() a256fe0[640] a2a23e0[320] a2b53e0[320] 0[0] -> a1bf5e0[1280]
0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 480 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4
swScale() a3fbfe0[640] a4473e0[320] a45a3e0[320] 0[0] -> a1bf5e0[1280]
0[0] 0[0] 0[0]
srcSliceY: 0 srcSliceH: 480 dstY: 480 dstH: 480
vLumFilterSize: 1 vLumBufSize: 6 vChrFilterSize: 4 vChrBufSize: 4

First two calls were made with unaligned source buffer, but the rest
calls are with 16 bytes aligned source buffer.

> Which compiler are you using?

gcc 4.2.2

Thanks!


More information about the MPlayer-users mailing list