[MPlayer-advusers] mplayer crash when geometry changes

Reimar Döffinger Reimar.Doeffinger at gmx.de
Sat Dec 3 19:45:45 CET 2011


On Sat, Dec 03, 2011 at 10:50:16AM -0700, David Hollister wrote:
> I have an MPEG-2 TS video that starts out at 1920x1080, then after
> about 18 seconds changes to 720x480.  Right at the change, mplayer
> crashes. The stack trace is as follows:
> 
> Program received signal SIGSEGV, Segmentation fault.
> 0xfe1cc5ef in memcpy () from /lib/libc.so.1
> (gdb) bt
> #0  0xfe1cc5ef in memcpy () from /lib/libc.so.1
> #1  0x08170768 in memcpy_pic2 (dst=0xfbd0e900, src=0x98be710,
> bytesPerLine=1920, height=1080, dstStride=720, srcStride=752,
> limit2width=0)
>     at libvo/fastmemcpy.h:91

While you'll lose one frame, attached patch should be a temporary fix,
unless/until FFmpeg can be improved.
(Obviously not tested since I did not have a suitable file to test it).
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ff.diff
Type: text/x-diff
Size: 842 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-advusers/attachments/20111203/54f883b2/attachment.bin>


More information about the MPlayer-advusers mailing list