summaryrefslogtreecommitdiffstats
path: root/loader/module.c
Commit message (Collapse)AuthorAgeFilesLines
* loader: Disable loading codecs from the current directoryreimar2010-11-021-0/+4
| | | | | | | | | | While convenient, it is too risky. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32025 b3059339-0415-0410-9bf9-f77b7e298cf2 100l, we need to search for SetDllDirectoryA instead of SetDllDirectory git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32026 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader: Rename loader/qt_comp.h --> loader/qt_comp_template.cdiego2010-11-021-2/+2
| | | | | | | | It is not a header file but rather a template that is #included multiple times with different DECL_COMPONENT macro definitions. All other similar files follow the _template.c suffix naming scheme. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31456 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused function MODULE_DecRefCount(), fixes the warning:diego2010-05-231-33/+0
| | | | | | | loader/module.c:618: warning: 'MODULE_DecRefCount' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31195 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove /usr[/local]/lib/win32 from the list of Win32 codec search paths.diego2010-03-241-1/+1
| | | | | | | | These paths have been deprecated a long time ago, just searching the default binary codec path is enough nowadays. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30955 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of pointless def_path variable; use codec_path directly instead.diego2010-03-231-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30949 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename get_path.[ch] --> path.[ch].diego2010-03-201-1/+1
| | | | | | | These files now contain different functions related to path handling. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30943 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move SetCodecPath() from loader to get_path.c and make it unconditional.diego2010-03-201-1/+1
| | | | | | | | This fixes compilation with the Win32 loader disabled but other binary codec loaders enabled. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30942 b3059339-0415-0410-9bf9-f77b7e298cf2
* Split codec path related code into a separate file to fix Windows build.reimar2010-03-181-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30930 b3059339-0415-0410-9bf9-f77b7e298cf2
* Do not cast the results of malloc/calloc/realloc.diego2010-02-261-3/+3
| | | | | | | | These functions return void*, which is compatible with any pointer, so there is no need for casts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30744 b3059339-0415-0410-9bf9-f77b7e298cf2
* 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 win32 loader support for OS/2komh2010-02-121-2/+27
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@30541 b3059339-0415-0410-9bf9-f77b7e298cf2
* whitespace cosmetics: Remove all trailing whitespace.diego2009-05-131-17/+17
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29305 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename loader/driver.[ch] to loader/drv.[ch], otherwise loader/driver.h candiego2008-06-081-1/+1
| | | | | | | 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
* 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
* Surround variable declarations by preprocessor conditionals to avoid warnings:diego2008-01-211-0/+5
| | | | | | | | module.c:143: warning: unused variable 'typeName' module.c:948: warning: unused variable 'err' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25826 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix a ton of illegal identifiers. Identifiers starting with __ or _ and adiego2008-01-201-4/+4
| | | | | | | | 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
* Stop MPlayer from complaining about bogus AviSynth DLL load failures.diego2007-12-181-1/+1
| | | | | | | | This was causing major confusion and resulting usability problems. patch by Jan Knutar, jknutar nic fi git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25446 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-4/+3
| | | | | | | | | | | | | | module.c: In function 'MODULE_DllProcessAttach': module.c:217: warning: unused variable 'i' module.c: In function 'MODULE_DllProcessDetach': module.c:278: warning: unused variable 'l' module.c: In function 'MODULE_LoadLibraryExA': module.c:305: warning: unused variable 'i' module.c: In function 'report_func_ret': module.c:948: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24402 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation for win32 dll codec support for intel osxnplourde2006-11-271-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
* Rename config.h --> debug.h and include config.h explicitly.diego2006-11-261-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21277 b3059339-0415-0410-9bf9-f77b7e298cf2
* rm unnecesary casts from void* - part 2reynaldo2006-07-021-1/+1
| | | | 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
* Nop some instructions causing the vfwvp6 dll encoder to crash.banan2006-06-071-0/+3
| | | | | | | | Now mencoder input.avi -ovc vfw -xvfwopts codec=vp6vfw.dll -o done.avi should work. VP6 in flv doesn't work yet. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18629 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix runtime-patching code to take into account the address when the codec is ↵reimar2006-06-071-53/+55
| | | | | | | | | loaded. Fixes MPlayer claiming things like "Unsupported VP6 version" under FreeBSD 6 git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Mark modified imported files as such to comply with GPL §2a.diego2005-04-151-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
* Windows media video advanced profile (wmva) support via binary codecrtognimp2004-10-241-0/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13746 b3059339-0415-0410-9bf9-f77b7e298cf2
* better component_funcalex2004-10-121-10/+28
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13623 b3059339-0415-0410-9bf9-f77b7e298cf2
* runtime patching vp31vfw.dll, so non-patched dlls can be used aswell. note: ↵alex2004-10-121-0/+11
| | | | | | this does not breaks if the dll is already patched git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13622 b3059339-0415-0410-9bf9-f77b7e298cf2
* loader gcc warning fixes and avifile syncrathann2004-08-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13183 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support vp6vfw.dll version 6.0.7.3rtognimp2004-05-041-0/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12423 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for vp5 and vp6 dll decodersrtognimp2004-03-181-0/+33
| | | | | | | Patch by Reimar Doeffinger git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12043 b3059339-0415-0410-9bf9-f77b7e298cf2
* switch to inttypes.h (u_int32_t vs uint32_t) in favour of Solaris9/x86 supportalex2004-01-291-33/+33
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11869 b3059339-0415-0410-9bf9-f77b7e298cf2
* Support for QuickTime6.3 DLLs. Patch by Dima K. <dimakar@yahoo.com>mosu2003-09-021-0/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10796 b3059339-0415-0410-9bf9-f77b7e298cf2
* compiler warning fixesarpi2002-12-141-11/+11
| | | | | | | 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
* both qt5 and qt6 patching support (qt6 addresses found by arpi)alex2002-11-301-40/+61
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8319 b3059339-0415-0410-9bf9-f77b7e298cf2
* patching out threads ;) raw measure: 18% cpu instead 30%alex2002-11-251-1/+24
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8287 b3059339-0415-0410-9bf9-f77b7e298cf2
* some extra debuggingalex2002-11-251-2/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8278 b3059339-0415-0410-9bf9-f77b7e298cf2
* patching quicktime.qts runtimearpi2002-11-241-3/+9
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8272 b3059339-0415-0410-9bf9-f77b7e298cf2
* - qtx (quicktime's macos emulation layer) debugging/emulation environment :)arpi2002-11-241-5/+403
| | | | | | | - some fixes in loadlibrary, to allow multiple loads/lookups git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8270 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile sync - 95% cosmetics 5% bugarpi2002-09-131-29/+11
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7387 b3059339-0415-0410-9bf9-f77b7e298cf2
* Warnings fix by Sylvain Petreolle <spetreolle@yahoo.fr>, fixed by me.atmos42002-07-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6769 b3059339-0415-0410-9bf9-f77b7e298cf2
* big cosmetics patch, cleanup of messages printed by mplayer and libs.arpi2002-05-201-1/+1
| | | | | | | | some printf->mp_msg conversion, and some debug messages moved from warn/info to v/dbg2 mplayer's output is now shorter, readable and consistent git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6139 b3059339-0415-0410-9bf9-f77b7e298cf2
* ugly hack for morgandsalex2002-04-211-1/+8
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5769 b3059339-0415-0410-9bf9-f77b7e298cf2
* avifile merge. kabi: indent changes really suxxxxarpi2001-12-111-101/+77
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3466 b3059339-0415-0410-9bf9-f77b7e298cf2
* partially synced with avifile... (TODO: migrate to new registry.c and driver.c)arpi2001-11-031-9/+41
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2652 b3059339-0415-0410-9bf9-f77b7e298cf2
* sync with avifilearpi2001-10-041-36/+80
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2070 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add prototypes to wine/loader stuff, so that we can catch __stdcall functionjkeil2001-07-121-2/+8
| | | | | | | | | | | 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
* DLL loader updated from avifile-0.60beta4arpi_esp2001-03-181-131/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@129 b3059339-0415-0410-9bf9-f77b7e298cf2
* Initial revisionarpi_esp2001-02-241-0/+618
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2 b3059339-0415-0410-9bf9-f77b7e298cf2