diff options
author | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-10 16:39:31 +0000 |
---|---|---|
committer | rtognimp <rtognimp@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2004-09-10 16:39:31 +0000 |
commit | 9e9aec9bf99838bf93c8470395c70f3bce0c8d29 (patch) | |
tree | e419e3dfaa002f0046bbff313f67764bdbb06558 /loader/ldt_keeper.h | |
parent | 052031df6d5feb598152cfe23adc0009b8963443 (diff) | |
download | mpv-9e9aec9bf99838bf93c8470395c70f3bce0c8d29.tar.bz2 mpv-9e9aec9bf99838bf93c8470395c70f3bce0c8d29.tar.xz |
Fixes for VirtualAlloc function:
* mplayer received a SIGSEGV under Linux after
Opening video decoder: [dmo] DMO video codecs
VirtualAlloc(0x00400000, 859648, 0x00003000, 0x00000040)
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.
Patch by A. Guru ( a.guru at sympatico dot ca )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13304 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'loader/ldt_keeper.h')
0 files changed, 0 insertions, 0 deletions