[MPlayer-dev-eng] MPlayer/MEncoder crash on using -vf scale and expand together. Fix attached.

Alex C alexc.xander at yahoo.in
Fri Oct 28 14:47:31 CEST 2011


Problem: SIGSEGV on mplayer -vf scale=720:480,expand=720:480 test.mkv

Sample test file: https://ffmpeg.org/trac/ffmpeg/attachment/ticket/594/rotate_x.mp4

Backtrace on: http://pastebin.com/uHPRtswz

Similar to ffmpeg bug: https://ffmpeg.org/trac/ffmpeg/ticket/594?cversion=1&cnum_hist=4

Patched in ffmpeg by michaelni: http://git.videolan.org/gitweb.cgi?p=ffmpeg.git;a=commitdiff;h=3e4375833d964ebb5d38816126ff0101ae696cf9;hp=d7dcd96a2377835a20c3d23b3bd476ddcf1baebb

I have applied a similar patch for mplayer. Patch is attached. The crash is averted as a result.

---

AC

P.S.: Yahoo has changed its email software since I last used it. Please excuse if this email is in HTML. I've tried to force plain text but it still may be SNAFU'd.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: aligned_access.patch
Type: text/x-patch
Size: 592 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20111028/c0e4c68f/attachment.bin>


More information about the MPlayer-dev-eng mailing list