summaryrefslogtreecommitdiffstats
path: root/loader/wine
Commit message (Collapse)AuthorAgeFilesLines
* cleanup: Silence compilation warnings on MinGW-w64wm42012-03-012-6/+10
| | | | | | | | | | | | | | | | | | | Some of the code, especially the dshow and windows codec loader parts, are extremely hacky and likely full of bugs. The goal is merely getting rid of warnings that could obscure more important warnings and actual bugs, instead of fixing actual problems. This reduces the number of warnings from over 500 to almost the same as when compiling on Linux. Note that many problems stem from using the ancient wine-derived windows headers. There are some differences to the "proper" windows header. Changing the code to compile with the proper headers would be too much trouble, and it still has to work on Unix. Some of the changes might actually break compilation on legacy MinGW, but we don't support that anymore. Always use MinGW-w64, even when compiling to 32 bit. Fixes some warnings in the win32 loader code on Linux too.
* loader: Remove __ptr32 and __ptr64 typedefsreimar2011-01-291-12/+0
| | | | | | | | We do not need them and they cause compilation errors with cygwin's mingw-w64 cross-compilers (32 bit target) since its _mingw.h has a "#define __ptr32", which makes these typedefs an invalid syntax. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32728 b3059339-0415-0410-9bf9-f77b7e298cf2
* Silence a gcc warning about char trying to be packed.cehoyos2010-05-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31172 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark parameterless function declarations as (void). Fixes the warnings:diego2010-04-041-0/+2
| | | | | | | | loader/wine/msacm.h:693: warning: function declaration isn't a prototype loader/wine/msacm.h:901: warning: function declaration isn't a prototype git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31003 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader: Remove commented-out extra_ld_library_path cruft.diego2010-03-231-1/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30953 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add public function VideoForWindowsVersion() to the appropriate header file.diego2010-02-211-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30693 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless empty lines at EOF.diego2010-02-202-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Directly mark structs as WINE_PACKED where all members are marked as packed.diego2010-02-142-26/+26
| | | | | | | This fixes a ton of gcc warnings about ignored packed attributes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30581 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless egcs #ifdefs; that compiler was never supported.diego2010-02-111-8/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30539 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove extern "C" declarations from loader code.diego2010-02-1110-78/+0
| | | | | | | Our loader code is not a general-purpose library and not used from C++. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30538 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use ARCH_X86_32 instead of the compiler-specific __i386__reimar2010-01-121-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30294 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add required header #includes to satisfy 'make checkheaders'.diego2010-01-043-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several hacks to fix compilation of tvi_dshow on MinGW64.reimar2010-01-022-5/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30169 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1314-204/+204
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-036-56/+56
| | | | 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-1/+1
| | | | | | | | 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
* cosmetics: Remove pointless parentheses from return statements.diego2008-05-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26789 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert fixing illegal identifiers to fix compilation on MinGW. Unfortunatelydiego2008-03-022-11/+11
| | | | | | | | these identifiers appear in Windows system headers and are thus outside our direct control. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26141 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix illegal identifiers starting with _ and capital letters.diego2008-03-012-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26138 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add MPLAYER_ prefix to multiple inclusion guards.diego2008-02-2328-97/+97
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26077 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove misplaced #endif comment.diego2008-02-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26056 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of redundant dbg_printf redefinition. Fixes some warnings:diego2008-01-281-9/+0
| | | | | | | wine/debugtools.h:57: warning: useless type name in empty declaration git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25898 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove $Id$ tags, they make diffs between different versionsreimar2008-01-274-4/+0
| | | | | | | harder to read than necessary. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused DPRINTF__ macro.diego2008-01-231-9/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25831 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a ton of illegal identifiers. Identifiers starting with __ or _ and adiego2008-01-2013-223/+223
| | | | | | | | 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
* Consistently use just the name of the #ifdef directive in preprocessor comments.diego2008-01-016-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-311-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
* add comment to endifcompn2007-10-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add Coinitialize function to vfw encoder and win32 loader.compn2007-10-171-0/+19
| | | | | | | | | | 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
* Remove leading underscores from multiple inclusion guards,diego2007-09-1327-93/+88
| | | | | | | leading underscores are reserved in the C standard. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24442 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix include path.diego2007-09-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24441 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant #ifndef, __WINE_MMSYSTEM_H is never defined.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24440 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove useless #ifndef, __WINE_WINGDI_H is never defined.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24438 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove redundant multiple inclusion guard.diego2007-09-121-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24437 b3059339-0415-0410-9bf9-f77b7e298cf2
* Consistently use path as multiple inclusion guard.diego2007-09-123-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24433 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r24424.voroshil2007-09-105-48/+48
| | | | | | | | Fix is wrong, because 'packed' attribute can be placed before structure definition only when all members have this attribute. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24426 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for a lot ofvoroshil2007-09-105-48/+48
| | | | | | | | "'packed' attribute ignored for field of type 'BYTE'" warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24424 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Add comments to some #endif preprocessor directives.diego2007-09-103-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24422 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous __WINE__ #define, it was always enabled anddiego2007-06-026-58/+0
| | | | | | | cluttered the code. Blessed by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23448 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation for win32 dll codec support for intel osxnplourde2006-11-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
* CVS --> Subversion in copyright noticesdiego2006-06-224-8/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
* Several minor fixes: Correctly advertise SSE and SSE2 instruction sets,reimar2005-10-021-0/+1
| | | | | | | | 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
* Remove stray MSDOS linebreaksivo2005-08-101-4/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16195 b3059339-0415-0410-9bf9-f77b7e298cf2
* mingw and maybe other system define the __int* types to char, short..., so ↵faust32005-06-071-0/+16
| | | | | | the typedefs become typedef char char; etc. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15692 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with GPL §2a.diego2005-04-154-0/+22
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
* icc support by Darek Ostolski <ostolski at kwantum dot gda dot pl>diego2005-01-141-0/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14493 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader gcc warning fixes and avifile syncrathann2004-08-282-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Better protection against double definition of MPEGLAYER3WAVEFORMATwight2004-08-091-2/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12980 b3059339-0415-0410-9bf9-f77b7e298cf2
* minimal fix for alex's 1000000000000l compile errors. imo the fix inrfelker2004-04-301-0/+2
| | | | | | | | | | aviheader.h is totally correct. defining useless typedefs that can conflict with other headers is bad practice. i don't like editing mmreg.h but oh well... if you have a better fix, commit it! finally, the fix in the ad_ and vd_ files seems totally correct. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12357 b3059339-0415-0410-9bf9-f77b7e298cf2
* last mingw32 support patch by Sascha Sommeralex2003-04-241-3/+15
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9979 b3059339-0415-0410-9bf9-f77b7e298cf2
* VfwEx uninit crash fixed, bugreport by Wolfgang Thiess <wollet1@gmx.net>arpi2002-10-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7679 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile sync - 95% cosmetics 5% bugarpi2002-09-136-21/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
* ICDecompressEndEx() addedarpi2002-09-031-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7258 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix some warnings on cygwin, patch by Sylvain Petreolle <spetreolle@yahoo.fr>atmos42002-08-311-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7183 b3059339-0415-0410-9bf9-f77b7e298cf2
* cygwin & darwin fixes by Joey Parrish <joey@yunamusic.com>arpi2002-06-041-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6303 b3059339-0415-0410-9bf9-f77b7e298cf2
* allow LPSTR typedefarpi2002-03-201-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5234 b3059339-0415-0410-9bf9-f77b7e298cf2
* better namingarpi2002-02-071-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4577 b3059339-0415-0410-9bf9-f77b7e298cf2
* reversed patch - faszom (C++) .so-baarpi2001-12-171-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3549 b3059339-0415-0410-9bf9-f77b7e298cf2
* ULONG bug fixpontscho2001-12-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3540 b3059339-0415-0410-9bf9-f77b7e298cf2
* workaround for Alpha - by Falk Hueffner <falk.hueffner@student.uni-tuebingen.de>arpi2001-12-162-11/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3537 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile merge. kabi: indent changes really suxxxxarpi2001-12-111-59/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3466 b3059339-0415-0410-9bf9-f77b7e298cf2
* decl. of VirtualFree changed (avifile sync)arpi2001-11-261-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3134 b3059339-0415-0410-9bf9-f77b7e298cf2
* packed attribute addedarpi2001-11-261-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3132 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPEGLAYER3WAVEFORMAT addedarpi2001-11-021-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2635 b3059339-0415-0410-9bf9-f77b7e298cf2
* new Processor Featuresalex2001-10-301-1/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2569 b3059339-0415-0410-9bf9-f77b7e298cf2
* removed unused buggy shitarpi2001-09-021-19/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1844 b3059339-0415-0410-9bf9-f77b7e298cf2
* GUID fixarpi2001-09-021-3/+10
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1837 b3059339-0415-0410-9bf9-f77b7e298cf2
* added WAVEFORMATEXTENSIBLE and new WAVE FORMAT TAGSarpi2001-09-021-42/+178
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1836 b3059339-0415-0410-9bf9-f77b7e298cf2
* MPlayer doesn't compile on linux/alphajkeil2001-07-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1338 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove some superfluous casts. Fixes a few compile warnings.jkeil2001-07-141-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix two prototype warningsjkeil2001-07-131-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1313 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add prototypes to wine/loader stuff, so that we can catch __stdcall functionjkeil2001-07-122-443/+1
| | | | | | | | | | | attribute mismatch between caller/caller. wine/loader is less sensitive to optimization now. (now that avifile-0.6 has the same patch installed, we're a bit closer to their CVS tree) Speed up win32 "QueryPerformanceFrequency" emulation on solaris. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1308 b3059339-0415-0410-9bf9-f77b7e298cf2
* VfwEx supportarpi2001-07-081-0/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1298 b3059339-0415-0410-9bf9-f77b7e298cf2
* 'You' bug fixedarpi_esp2001-03-211-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@187 b3059339-0415-0410-9bf9-f77b7e298cf2
* DLL loader updated from avifile-0.60beta4arpi_esp2001-03-182-3/+7
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial revisionarpi_esp2001-02-2428-0/+13363
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2