summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* Remove pointless '#if 1' preprocessor directive.diego2010-02-221-2/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30702 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add declaration for exp_EH_prolog_dummy().diego2010-02-221-0/+1
| | | | | | | This avoids a warning with -Wmissing-prototypes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30701 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
* Only #define WIN32_LOADER if it has not been #defined already, fixes warning:diego2010-02-211-0/+2
| | | | | | | loader/win32.c:27:1: warning: "WIN32_LOADER" redefined git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30689 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless empty lines at EOF.diego2010-02-208-11/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30675 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove pointless '#if 1' preprocessor directives.diego2010-02-191-6/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30654 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a InitializeCriticalSectionAndSpinCount function.reimar2010-02-181-0/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30640 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add a GetModuleHandleW implementation.reimar2010-02-181-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30639 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use snprintf to ensure we do not write outside the buffer boundsreimar2010-02-181-2/+2
| | | | | | | when recording stub names into export_names. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30638 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add header #include for print_wave_header() instead of a forward declaration.diego2010-02-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30636 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
* Explain WIN32_LOADER definition hack.diego2010-02-121-0/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30545 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless CONFIG_QTX_CODECS --> QTX preprocessor indirection.diego2010-02-121-42/+39
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30544 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix linking of loader test programs when loader is disabled.diego2010-02-121-0/+1
| | | | | | | Dependencies were only set correctly if the loader code was enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30542 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add win32 loader support for OS/2komh2010-02-122-2/+30
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30541 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-1119-158/+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
* Add stubs for several functions, needed for CineForm codec.reimar2010-02-091-0/+82
| | | | | | | | Patch by Steinar H. Gunderson [sgunderson bigfoot com] with some modifications by me. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30531 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove disabled AVIFILE-specific preprocessor code.diego2010-02-081-9/+0
| | | | | | | It will never get enabled in MPlayer, nor is it more than cruft. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30526 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge some preprocessor conditionals where appropriate.diego2010-02-081-12/+4
| | | | | | | This saves a few lines and simplifies the code slightly. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30525 b3059339-0415-0410-9bf9-f77b7e298cf2
* Release pin enumerator after we are done using it.reimar2010-02-051-0/+1
| | | | | | | | Fixes issues with CoreAVC tray icon. Patch by Gianluigi Tiesi [mplayer netfarm it] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30516 b3059339-0415-0410-9bf9-f77b7e298cf2
* Prefix EXTERN_ASM to global variables to match them to an extern prefix of C.komh2010-02-051-22/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30512 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove '.section' causing the following assembler error on OS/2.komh2010-02-051-2/+2
| | | | | | | Error: unknown pseudo-op: `.section' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30511 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing license headers to test programs for external libraries.diego2010-02-032-2/+37
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30494 b3059339-0415-0410-9bf9-f77b7e298cf2
* Hack to avoid a GUID_NULL clash on 64 bit MinGW.reimar2010-01-171-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30348 b3059339-0415-0410-9bf9-f77b7e298cf2
* Document some of the ext_stub magic.reimar2010-01-161-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30320 b3059339-0415-0410-9bf9-f77b7e298cf2
* 100l, forgot to change the "magic" value in the stub also in the place ↵reimar2010-01-161-1/+1
| | | | | | replacing it. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30319 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
* Place a volatile at a more appropriate place.reimar2010-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30268 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change dummy value to fit into int.reimar2010-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove return statement from function that has no return value.reimar2010-01-101-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30266 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid excessive fflush in dbgprintf if we didn't even print anything.reimar2010-01-101-1/+1
| | | | | | | Patch by Steinar H. Gunderson [sgunderson bigfoot com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30262 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix RegCloseKey to not return an error on success.reimar2010-01-101-1/+1
| | | | | | | Patch by "Steinar H. Gunderson" [sgunderson bigfoot com] git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30261 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add required header #includes to satisfy 'make checkheaders'.diego2010-01-048-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30213 b3059339-0415-0410-9bf9-f77b7e298cf2
* Drop -Iloader from CPPFLAGS for the loader subdirectory.diego2010-01-0419-42/+42
| | | | | | | Instead use full relative paths in #includes. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30212 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing header #includes to fix 'make checkheaders'.diego2010-01-041-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30208 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
* Implement dummy EncodePointer/DecodePointer functions needed for e.g. ↵reimar2009-10-101-0/+12
| | | | | | lagarith.dll git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29767 b3059339-0415-0410-9bf9-f77b7e298cf2
* add YAXPAX and YAPAXI exports to msvcr80compn2009-09-161-0/+3
| | | | | | | | fixes kegavideo binary codec patch by Roberto Togni git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29682 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-1341-601/+601
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' to parameterless function declarations.diego2009-05-045-25/+23
| | | | 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-023-9/+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
* cosmetics: Replace unused 'argc/argv' in main declarations by 'void'.diego2009-02-172-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28634 b3059339-0415-0410-9bf9-f77b7e298cf2
* Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:diego2009-02-173-3/+3
| | | | | | | 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
* Replace double semicolon by single semicolon.diego2009-02-161-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 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
* #include the appropriate header instead of using local declarations.diego2009-01-051-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28268 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing 'void' keyword to parameterless function declarations.diego2009-01-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid u_ BSD type names.diego2008-12-271-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28197 b3059339-0415-0410-9bf9-f77b7e298cf2
* Change some printf calls to 'Debug printf' so as not to pollute stdout.diego2008-12-111-6/+6
| | | | | | | based on a patch by Zhou Zongyi, zhouzongyi pset.suntec net git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28128 b3059339-0415-0410-9bf9-f77b7e298cf2
* Re-add "extern"s incorrectly removed in r28085reimar2008-12-041-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28088 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless 'extern' keywords.diego2008-12-0313-74/+74
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
* Missing free in malloc error case in COutputPinCreate.reimar2008-10-311-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27871 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid useless casts of malloc results.reimar2008-10-311-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27870 b3059339-0415-0410-9bf9-f77b7e298cf2
* Translate a Hungarian comment, thanks to Denes Balatoni.diego2008-10-191-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27806 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.diego2008-10-165-23/+23
| | | | | | | | 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-162-2/+2
| | | | | | | 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 pointless #ifdef around the whole file, it is just a complicated #if 1.diego2008-10-131-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27760 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
* Rename loader/driver.[ch] to loader/drv.[ch], otherwise loader/driver.h candiego2008-06-087-9/+9
| | | | | | | conflict with the header by the same name in loader/wine/driver.h. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27031 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Remove pointless parentheses from return statements.diego2008-05-165-13/+13
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26789 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use consistent #include paths without "../".diego2008-04-284-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge loader/Makefile into top-level Makefile.diego2008-04-281-49/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26573 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove calls to Restore_LDT_Keeper, exit() is called immediately afterwardsdiego2008-04-282-4/+2
| | | | | | | anyway. The calls were missing parameters and caused compilation failures. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26570 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing ldt_keeper.h #include; this fixes a bunch of implicit declarationdiego2008-04-282-0/+2
| | | | | | | of function warnings. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26569 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge TEST_OBJS and TEST_LDFLAGS.diego2008-04-281-4/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26568 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -g to CFLAGS, not to LDFLAGS.diego2008-04-281-1/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26567 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge test program compilation rules using patterns.diego2008-04-281-4/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26566 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add CFLAGS to test program compilation commands.diego2008-04-281-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26565 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing ../osdep/mmap_anon.o to TEST_OBJS.diego2008-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26564 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unnecessary linker flags.diego2008-04-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26563 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include, fixes the warning:diego2008-04-281-0/+1
| | | | | | | qtx/qtxload.c:50: warning: implicit declaration of function 'mp_msg_init' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26562 b3059339-0415-0410-9bf9-f77b7e298cf2
* Adjust printf length modifier, fixes the warning:diego2008-04-281-1/+1
| | | | | | | qtx/list.c:54: warning: format '%d' expects type 'int', but argument 2 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26561 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out variables only used in commented-out code, fixes the warnings:diego2008-04-281-2/+2
| | | | | | | | qtx/qtxload.c:46: warning: unused variable 'i' qtx/qtxload.c:45: warning: unused variable 'es