[MPlayer-dev-eng] [PATCH] (loader/ext.c) VirtualAlloc() SIGSEGV on Linux + other fixes

Jan Knutar jknutar at nic.fi
Mon Aug 16 14:07:02 CEST 2004


On Monday 16 August 2004 12:22, A. Guru wrote:
> Changes:
> 
>     * mplayer received a SIGSEGV under Linux after
> 
> 	Opening video decoder: [dmo] DMO video codecs
> 	VirtualAlloc(0x00400000, 859648, 0x00003000, 0x00000040)
> 
>       with
> 
> 	-rw-r--r--  1 root root 807032 Nov 20  2002 /usr/local/lib/codecs/wmv9dmod.dll
> 
>       because that region was already under use and mmap() with MAP_FIXED has
>       problems under Linux (see code).  VirtualAlloc() fixed in "loader/ext.c".
> 
>     * VirtualAlloc() made to conform with win32 documented behavior regarding
>       the alignment of the address and size arguments.
> 
>     * VirtualAlloc() detection of overlap with previous regions fixed.

Does this do same thing as
http://article.gmane.org/gmane.comp.video.mplayer.devel/18464

Or are these two separate issues?




More information about the MPlayer-dev-eng mailing list