summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* Remove another 2 useless castsreimar2008-01-131-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25710 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of another useless castreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25709 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a cast useless since r24425.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25708 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move variable declaration into block where it is used.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25707 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove result from warning string, it has no useful meaning here.reimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25706 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove a useless castreimar2008-01-131-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25705 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove all test programs with 'make clean'.diego2008-01-061-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25622 b3059339-0415-0410-9bf9-f77b7e298cf2
* /usr/lib/win32 --> /usr/local/lib/codecsdiego2008-01-062-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25621 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove compilation command comments.diego2008-01-062-4/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25620 b3059339-0415-0410-9bf9-f77b7e298cf2
* Comment out non-existing mp_msg_set_level function to fix linking.diego2008-01-061-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25618 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation by replacing a broken macro with in-place code.diego2008-01-061-3/+1
| | | | | | | qtx/qtxload.c:16:1: error: pasting "*" and "ComponentDispatch" does not give a valid preprocessing token git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25617 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix compilation due to conflicting type declaration:diego2008-01-061-2/+0
| | | | | | | | qtx/list.c:22: error: conflicting types for 'OSErr' qtx/qtxsdk/components.h:15: error: previous declaration of 'OSErr' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25616 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #include so that the header works standalone.diego2008-01-061-0/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25615 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add proper compilation rules for qtx/list and qtx/qtxload and remove sillydiego2008-01-062-4/+11
| | | | | | | compilation shell script. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25614 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get the dshow test program closer to linking.diego2008-01-061-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25613 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix warnings:diego2008-01-061-0/+1
| | | | | | | | | | dshow/test.c:52: warning: implicit declaration of function 'strcpy' dshow/test.c:52: warning: incompatible implicit declaration of built-in function 'strcpy' dshow/test.c:61: warning: implicit declaration of function 'memset' dshow/test.c:61: warning: incompatible implicit declaration of built-in function 'memset' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25612 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add missing #includes to fix compilation:diego2008-01-061-0/+3
| | | | | | | dshow/test.c:11: error: 'BITMAPINFOHEADER' undeclared (first use in this function) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25611 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix typo, LIBNAME should be LIBNAME_COMMON.diego2008-01-051-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25606 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add multiple inclusion guards to all header files that lack them.diego2008-01-015-0/+21
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 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
* consistency cosmeticsdiego2008-01-015-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25575 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add explanatory comments to the #endif part of multiple inclusion guards.diego2007-12-313-3/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 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
* 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 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-172-1/+48
| | | | | | | | | | 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
* Detect support of and add necessary CFLAGS to avoid crashes when loadingdiego2007-10-011-0/+2
| | | | | | | | Win32 DLLs on Mac OS X / Intel. based on patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24683 b3059339-0415-0410-9bf9-f77b7e298cf2
* Move AM_MEDIA_TYPE structure definition to mediatype.h.voroshil2007-09-133-13/+26
| | | | | | | | | Make inclusion of com.h and wine/*.h conditional, this will allow reusing of mediatype.c code under MinGW without requirement to include all remaining wine/* stuff. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove leading underscores from multiple inclusion guards,diego2007-09-1331-103/+98
| | | | | | | 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
* cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.diego2007-09-122-6/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24439 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
* Fix indentation after r24367.cehoyos2007-09-101-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24428 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:voroshil2007-09-102-13/+13
| | | | | | | | | | | | | | | | | | | dshow/DS_Filter.c: In function 'DS_Filter_CopySample': dshow/DS_Filter.c:103: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:185: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:191: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:198: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:220: warning: dereferencing type-punned pointer will break strict-aliasing rules dshow/DS_Filter.c:245: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c: In function 'DMO_FilterCreate': dmo/dmo.c:73: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:79: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:86: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:90: warning: dereferencing type-punned pointer will break strict-aliasing rules dmo/dmo.c:93: warning: dereferencing type-punned pointer will break strict-aliasing rules git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24425 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-104-4/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24422 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-3/+0
| | | | | | | | | | pe_image.c:70: warning: redundant redeclaration of 'LookupExternal' win32.h:41: warning: previous declaration of 'LookupExternal' was here pe_image.c:71: warning: redundant redeclaration of 'LookupExternalByName' win32.h:42: warning: previous declaration of 'LookupExternalByName' was here git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24418 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-101-2/+2
| | | | | | | dshow/mediatype.c:37: warning: suggest explicit braces to avoid ambiguous 'else' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24417 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix for:voroshil2007-09-101-6/+6
| | | | | | | | | | | dshow/mediatype.c:47: warning: format '%02d' expects type 'int', but argument 5 has type 'long unsigned int' dshow/mediatype.c:74: warning: format '%d' expects type 'int', but argument 4 has type 'DWORD' dshow/mediatype.c:77: warning: format '%d' expects type 'int', but argument 4 has type 'DWORD' dshow/mediatype.c:84: warning: format '%d' expects type 'int', but argument 4 has type 'long int' dshow/mediatype.c:85: warning: format '%d' expects type 'int', but argument 4 has type 'long int' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24416 b3059339-0415-0410-9bf9-f77b7e298cf2
* Proper fix for:voroshil2007-09-101-2/+1
| | | | | | | | dshow/mediatype.c:52: warning: implicit declaration of function 'printf' dshow/mediatype.c:52: warning: incompatible implicit declaration of built-in function 'printf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24415 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix silly typo.diego2007-09-101-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24414 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+1
| | | | | | | dmo/dmo.c:118: warning: unused variable 'vi' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24413 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_DecodeInternal': dmo/DMO_VideoDecoder.c:299: warning: unused variable 'ptr' dmo/DMO_VideoDecoder.c: In function 'DMO_VideoDecoder_SetDestFmt': dmo/DMO_VideoDecoder.c:366: warning: unused variable 'stoped' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24412 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-0/+1
| | | | | | | | dshow/mediatype.c:46: warning: implicit declaration of function 'printf' dshow/mediatype.c:46: warning: incompatible implicit declaration of built-in function 'printf' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24411 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-1/+0
| | | | | | | | | dshow/DS_VideoDecoder.c: In function 'DS_VideoDecoder_StartInternal': dshow/DS_VideoDecoder.c:268: warning: unused variable 'props1' dshow/DS_VideoDecoder.c:268: warning: unused variable 'props' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24410 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-1/+0
| | | | | | | | | dshow/DS_AudioDecoder.c: In function 'DS_AudioDecoder_Open': dshow/DS_AudioDecoder.c:98: warning: unused variable 'props1' dshow/DS_AudioDecoder.c:98: warning: unused variable 'props' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24409 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-4/+4
| | | | | | | | | | | | elfdll.c: In function 'ELFDLL_CreateModref': elfdll.c:177: warning: unused variable 'len' elfdll.c:175: warning: unused variable 'pe_import' elfdll.c:174: warning: unused variable 'dir' elfdll.c: In function 'ELFDLL_LoadLibraryExA': elfdll.c:244: warning: unused variable 'image' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24408 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+0
| | | | | | | | | | registry.c: In function 'insert_reg_value': registry.c:266: warning: unused variable 't' registry.c: In function 'RegSetValueExA': registry.c:491: warning: unused variable 't' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24407 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+2
| | | | | | | | | | resource.c: In function 'RES_SizeofResource': resource.c:111: warning: unused variable 'hRsrc32' resource.c: In function 'RES_LoadResource': resource.c:157: warning: unused variable 'hRsrc32' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24406 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
* warning fix:diego2007-09-101-1/+0
| | | | | | | | ext.c: At top level: ext.c:316: warning: 'mapping_size' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24404 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+1
| | | | | | | | | | ext.c: In function 'HeapAlloc': ext.c:86: warning: unused variable 'i' ext.c: In function 'VirtualAlloc': ext.c:440: warning: unused variable 'fd' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24403 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
* warning fixes:diego2007-09-101-3/+1
| | | | | | | | | | | | pe_image.c: In function 'fixup_imports': pe_image.c:290: warning: unused variable 'wmImp' pe_image.c: In function 'PE_LoadImage': pe_image.c:445: warning: unused variable 'bhfi' pe_image.c: In function 'PE_CreateModule': pe_image.c:706: warning: unused variable 'result' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24401 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fixes:diego2007-09-101-2/+1
| | | | | | | | | | afl.c: In function 'acmDriverOpen': afl.c:196: warning: unused variable 'hdrv' afl.c: In function 'acmStreamOpen': afl.c:441: warning: unused variable 'drv_tag' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24400 b3059339-0415-0410-9bf9-f77b7e298cf2
* warning fix:diego2007-09-101-1/+0
| | | | | | | | driver.c: In function 'DrvOpen': driver.c:152: warning: unused variable 'i' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24399 b3059339-0415-0410-9bf9-f77b7e298cf2
* Avoid releasing of unallocated memory.voroshil2007-09-081-0/+2
| | | | | | | | | Patch is made from coreavc-for-linux project source code http://code.google.com/p/coreavc-for-linux/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24367 b3059339-0415-0410-9bf9-f77b7e298cf2
* Always initialize pUnk pointer with zero.voroshil2007-09-081-0/+1
| |