summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
Commit message (Collapse)AuthorAgeFilesLines
* #include osdep/mman.h if sys/mman.h is not available.diego2008-03-031-0/+2
| | | | | | | patch by KO Myung-Hun, komh chollian net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26143 b3059339-0415-0410-9bf9-f77b7e298cf2
* Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.diego2008-03-011-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove $Id$ tags, they make diffs between different versionsreimar2008-01-271-1/+0
| | | | | | | harder to read than necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Disable unused function test_heap, fixes the warning:diego2008-01-231-2/+4
| | | | | | | win32.c:255: warning: 'test_heap' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25834 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function exp_ftol_wrong, fixes the warning:diego2008-01-231-6/+0
| | | | | | | win32.c:4273: warning: 'exp_ftol_wrong' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25833 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a ton of illegal identifiers. Identifiers starting with __ or _ and adiego2008-01-201-8/+8
| | | | | | | | capital letter are reserved for the system, those starting with _ are reserved at the file level. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25822 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace hardcoded 0 by equivalent O_RDONLYreimar2007-10-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24830 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Coinitialize function to vfw encoder and win32 loader.compn2007-10-171-1/+29
| | | | | | | | | | Fixes crash when trying to load vp7vfw.dll in vfw2menc. Patch by Gianluigi Tiesi mplayer___netfarm.it http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/2007-September/054136.html git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24798 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | win32.c:2102: warning: redundant redeclaration of 'LoadResource' wine/winbase.h:1678: warning: previous declaration of 'LoadResource' was here win32.c:2247: warning: redundant redeclaration of 'MODULE32_LookupHMODULE' wine/module.h:143: warning: previous declaration of 'MODULE32_LookupHMODULE' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24421 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | win32.c: In function 'expGetSystemInfo': win32.c:935: warning: unused variable 'regs' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24420 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | win32.c:960: warning: redundant redeclaration of 'gCpuCaps' ../cpudetect.h:53: warning: previous declaration of 'gCpuCaps' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24419 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-7/+2
| | | | | | | | | | | | | | | | | | | | win32.c: In function 'expCreateSemaphoreA': win32.c:1751: warning: unused variable 'pp' win32.c: In function 'expGetStartupInfoA': win32.c:2187: warning: unused variable 'i' win32.c: In function 'expLoadLibraryA': win32.c:2298: warning: unused variable 'i' win32.c: In function 'expWritePrivateProfileStringA': win32.c:2786: warning: unused variable 'size' win32.c: In function 'expGetSystemTimeAsFileTime': win32.c:3136: warning: unused variable 'local_tm' win32.c: In function 'expGetEnvironmentVariableA': win32.c:3150: warning: unused variable 'p' win32.c: In function 'LookupExternalByName': win32.c:5371: warning: unused variable 'answ' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24405 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous MPLAYER #define, it was always enabled anddiego2007-06-021-46/+0
| | | | | | | cluttered the code. Blessed by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23446 b3059339-0415-0410-9bf9-f77b7e298cf2
* typo fixes ported from VLCdiego2007-04-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22893 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support function lookup via ordinalreimar2007-03-081-4/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Allow declaring special undefined functions that will return NULLreimar2007-03-081-0/+9
| | | | | | | instead of a pointer to a stub. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22493 b3059339-0415-0410-9bf9-f77b7e298cf2
* The original asm code for the stub returned 0, restore that behaviour.reimar2007-03-031-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2
* Update 3ivx decoder to latest version and allow it to load required library.voroshil2007-03-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22385 b3059339-0415-0410-9bf9-f77b7e298cf2
* mmap memory area for generated code to avoid crashes on machines whichreimar2006-12-031-2/+9
| | | | | | | support noexec git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21478 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix 21381, make sure gcc does not make any ip-relative calls or similar.reimar2006-12-031-5/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21477 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of stubs.S, move code to inline asm.reimar2006-11-291-2/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21384 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics: remove unused and commented out add_stub function headerreimar2006-11-291-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21383 b3059339-0415-0410-9bf9-f77b7e298cf2
* Some extra checks and safety space for add_stub function.reimar2006-11-291-4/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21382 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change add_stub code to also work without -fomit-frame-pointerreimar2006-11-291-49/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21381 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused unk_exp1 loader asm codereimar2006-11-271-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21329 b3059339-0415-0410-9bf9-f77b7e298cf2
* Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1rtogni2006-11-041-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20668 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-7/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-221-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support WVC1 decoding via dmo binary codec wvc1dmod.dllrtogni2006-06-051-0/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert all if(verbose>X) to mp_msg_test calls.diego2006-03-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
* export ldexp() and frexp() in pncrt, they are needed by rp8 sipr dllrtognimp2005-12-011-0/+2
| | | | | | | Patch by Benjamin Larsson git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17073 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CharNextA(), needed by rp8 sipr dllrtognimp2005-12-011-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17072 b3059339-0415-0410-9bf9-f77b7e298cf2
* Unify include paths, -I.. is in CFLAGS.diego2005-11-191-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17021 b3059339-0415-0410-9bf9-f77b7e298cf2
* expGetSystemInfo should not leave SYSTEM_INFO unitialized, even whenreimar2005-10-031-4/+10
| | | | | | | | /proc/cpuinfo is unreadable. Fixes some weird behaviour with the wmv decoder (it tries multithreaded decode). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16651 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several minor fixes: Correctly advertise SSE and SSE2 instruction sets,reimar2005-10-021-1/+14
| | | | | | | | add MSVCRT._winver and KERNEL32.GetThreadPriority exports. Should fix some crashes esp. with wmv9dmo.dll git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16633 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support On2 VP7 via binary decoder by implementing ↵reimar2005-09-011-0/+37
| | | | | | | | | | USER32.RegisterClipboardFormatA, SHLWAPI.PathFindExtensionA and SHLWAPI.PathFindFileNameA. Tested with http://www.on2.com/vp7_samples/potter-40.vp7. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16339 b3059339-0415-0410-9bf9-f77b7e298cf2
* DragonFly BSD supportdiego2005-05-251-1/+1
| | | | | | | patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
* FRAPS decoder (FPS1) with binary dllrtognimp2005-05-141-0/+3
| | | | | | | Patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15475 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with GPL §2a.diego2005-04-151-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
* add missing registers in clobber list, fixes bug #169reimar2004-12-211-0/+1
| | | | | | | Patch by basic basic (at) mozdev [dot] org git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support wmspdmod.dll version 10.0.0.3646rtognimp2004-10-241-0/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13752 b3059339-0415-0410-9bf9-f77b7e298cf2
* Decode VDOWave (VDOM) with binary codecrtognimp2004-10-241-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13749 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for Windows media audio 9 voice codec (format 0x0a)rtognimp2004-10-231-3/+8
| | | | | | | Tested with dll version 9.0.0.2926 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13740 b3059339-0415-0410-9bf9-f77b7e298cf2
* Windows Media Image (WMVP) can be decoded with WMV9 dmo codecrtognimp2004-10-091-0/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13599 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce excessive verbosity a bit.diego2004-09-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13380 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader gcc warning fixes and avifile syncrathann2004-08-281-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for Winnov Videum WINX and WNV1 codecs with binary dllrtognimp2004-06-301-0/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12736 b3059339-0415-0410-9bf9-f77b7e298cf2
* more stupidityrfelker2004-05-011-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12375 b3059339-0415-0410-9bf9-f77b7e298cf2
* Less verbosity by moving some debug messages from printf --> dbgprintf.diego2004-04-231-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12259 b3059339-0415-0410-9bf9-f77b7e298cf2
* Make wmv9 playback less verbose.diego2004-03-271-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12075 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for Alparysoft lossless video codec (DShow and VfW)rtognimp2004-03-251-4/+57
| | | | | | | Patch by Melisha Johnson <adland123 (at) yahoo (dot) com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12067 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for Lead MCMW 2.0 wavelet codec eval versionrtognimp2004-03-231-1/+11
| | | | | | | | Requires LCODCCMW2E.dll and LCMW2.dll Patch by adland <adland123 (at) yahoo (dot) com> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12060 b3059339-0415-0410-9bf9-f77b7e298cf2
* reviewed the locking codes, a mutex should be unlocked before destroying italex2004-01-251-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11854 b3059339-0415-0410-9bf9-f77b7e298cf2
* Don't mutex_unlock if it was never locked. Patch by Min Sik Kimalex2004-01-251-2/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11853 b3059339-0415-0410-9bf9-f77b7e298cf2
* ViVD v2 codec (fourcc gxve) support with vfw dll ViVD2.dllrtognimp2003-09-051-0/+32
| | | | | | | Codec by http://www.softmediachina.com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10819 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l by me, noticed by a guy with a transmeta cpu, but forgot his name, sorryalex2003-05-201-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10140 b3059339-0415-0410-9bf9-f77b7e298cf2
* changed cpudetection code to support newer pentiumsalex2003-04-281-16/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10014 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixes for vss h264rtognimp2003-04-091-2/+36
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Vanguard codecs support, patch by Andreas Hess <jaska (at) gmx (dot) net>rtognimp2003-04-091-0/+12
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9897 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for truespeech dll, patch by <dimakar(at)yahoo.com>rtognimp2003-03-151-2/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9593 b3059339-0415-0410-9bf9-f77b7e298cf2
* realaudio dlls supportalex2003-02-111-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9398 b3059339-0415-0410-9bf9-f77b7e298cf2
* qt vs. voxware fixed (hopefully), also some qt speeduparpi2003-01-051-6/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8799 b3059339-0415-0410-9bf9-f77b7e298cf2
* voxvare audio fixarpi2003-01-041-1/+1
| | | | | | | patch by Charles Philip Chan <cpchan@sympatico.ca> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8765 b3059339-0415-0410-9bf9-f77b7e298cf2
* even more :)arpi2002-12-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8660 b3059339-0415-0410-9bf9-f77b7e298cf2
* more verbose...arpi2002-12-301-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8659 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-9/+13
| | | | | | | based on patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
* it seems that old CS is working better than newtype now... :)arpi2002-12-071-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8394 b3059339-0415-0410-9bf9-f77b7e298cf2
* support for *.qtx (scan for all .qtx files at quicktime init)arpi2002-12-071-22/+47
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8392 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile sync (added only the new functions, all cosmetics ignored)arpi2002-11-261-17/+121
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8294 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed WaitForMultipleObjects and FindFilealex2002-11-251-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8286 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l to me and to apple tooalex2002-11-251-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8282 b3059339-0415-0410-9bf9-f77b7e298cf2
* _qtx support_ and m3jpeg,mjpeg2k fixes (some cleanup and _lot of testing ↵alex2002-11-251-51/+692
| | | | | | needed_) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8280 b3059339-0415-0410-9bf9-f77b7e298cf2
* use the more stable NEWTYPE critsect codearpi2002-11-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8142 b3059339-0415-0410-9bf9-f77b7e298cf2
* fixed 2 10l bugs, ATI VCR2 dll now workingalex2002-10-121-7/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7719 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile sync - 95% cosmetics 5% bugarpi2002-09-131-88/+180
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
* mostly compiler warning fixes, some small bugfixarpi2002-08-281-1/+1
| | | | | | | patch by Dominik Mierzejewski <dominik@rangers.eu.org> git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7128 b3