summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove trailing whitespace from most filesUoti Urpala2009-07-071-38/+38
|
* Add missing 'void' to parameterless function declarations.diego2009-05-041-20/+20
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29254 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary malloc.h #includes and related #ifdeffery.diego2009-04-021-3/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29126 b3059339-0415-0410-9bf9-f77b7e298cf2
* enable vp6 codec to read/write .fpf (passlogfile)compn2009-03-251-3/+5
| | | | | | | fixes 2pass vp6 encoding on linux git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29062 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-171-1/+1
| | | | | | | mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
* remove sys/timeb.h includecompn2009-01-291-1/+0
| | | | | | | | | fixes compilation on uClibc based i386 system patch by Markus Heidelberg markus(x.x)heidelberg(x@x)web(x.x)de ok'd by diego git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28387 b3059339-0415-0410-9bf9-f77b7e298cf2
* Reduce QuickTime binary decoder verbosity.diego2009-01-171-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28340 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.diego2008-10-161-13/+13
| | | | | | | | We were using an inconsistent mix of the three variants and 'volatile' should be the most correct and portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.diego2008-10-161-1/+1
| | | | | | | Neither variant is valid C99 syntax, but __asm__ is the most portable variant. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove duplicate vsscanf fallback implementation, we have another in osdep/.diego2008-08-221-13/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not provide a prototype for vsscanf when vsscanf is available.diego2008-08-021-3/+1
| | | | | | | Fixes a redundant redeclaration warning. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27396 b3059339-0415-0410-9bf9-f77b7e298cf2
* Start unifying names of internal preprocessor directives.diego2008-07-301-1/+1
| | | | | | | | Replace all USE_ prefixes by CONFIG_ prefixes to indicate options which are configurable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless parentheses from return statements.diego2008-05-161-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26789 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix potential segfault in debug printf in expSetFilePointerrtogni2008-04-211-1/+1
| | | | | | | Patch by Gianluigi Tiesi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26486 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for MSU SCLS (Screen Capture Lossless Codec) with SCLS.DLLrtogni2008-04-201-0/+22
| | | | | | | | codecs.conf patch by AsSlowAsHell |asslowashell | g m a i l| win32.c patch by me git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26476 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add support for msn siren audio coced via binary dll sirenacm.dllrtogni2008-04-201-0/+30
| | | | | | | | Based on a patch by Ruuds "roadrunnerswife" "users sourceforge net" Closes bugzilla #963 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26473 b3059339-0415-0410-9bf9-f77b7e298cf2
* #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
| | | | g