summaryrefslogtreecommitdiffstats
path: root/loader
Commit message (Collapse)AuthorAgeFilesLines
* 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
| | | | | | | | Should fix accidental crashes in various dshow/vfm binary codecs, caused by attempting to release unallocated data. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24363 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert last commit, -mstackrealign was added in gcc 4.2 and should notdiego2007-08-271-2/+0
| | | | | | | be used unconditionally. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24221 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add -mstackrealign to CFLAGS on Darwin, fixes loading WMV9 DLL.diego2007-08-241-0/+2
| | | | | | | patch by Ulion, ulion2002 gmail com git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24142 b3059339-0415-0410-9bf9-f77b7e298cf2
* Ugly hack to make xanlib.dll work.reimar2007-08-011-1/+2
| | | | | | | See also http://samples.mplayerhq.hu/game-formats/wc4-xan/ git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23981 b3059339-0415-0410-9bf9-f77b7e298cf2
* ISO8859-1 --> UTF-8diego2007-07-091-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
* Add regular #define for header file.voroshil2007-06-081-0/+4
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23513 b3059339-0415-0410-9bf9-f77b7e298cf2
* 10l: Remove overlooked instance of NOAVIFILE_HEADERS.diego2007-06-021-7/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23450 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous __WINE__ #define, it was always enabled anddiego2007-06-027-59/+0
| | | | | | | cluttered the code. Blessed by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23448 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous NOAVIFILE_HEADERS #define, it was always enabled anddiego2007-06-026-39/+1
| | | | | | | cluttered the code. Blessed by Reimar. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23447 b3059339-0415-0410-9bf9-f77b7e298cf2
* Get rid of superfluous MPLAYER #define, it was always enabled anddiego2007-06-024-72/+1
| | | | | | | 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-012-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22893 b3059339-0415-0410-9bf9-f77b7e298cf2
* check that definition of prototype of sysi86(int, void*) doesn't conflict; ↵nicodvb2007-03-181-2/+2
| | | | | | fixed compilation in opensolaris git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22733 b3059339-0415-0410-9bf9-f77b7e298cf2
* Use explicit path for headers from the dshow/ subdirectory.diego2007-03-153-5/+5
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22625 b3059339-0415-0410-9bf9-f77b7e298cf2
* cosmetics: Fix indentation, reorder some lines for consistency.diego2007-03-131-14/+14
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
* Give more descriptive names to the source and library variables and splitdiego2007-03-131-5/+5
| | | | | | | between common, MPlayer-specific and MEncoder-specific parts. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 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
* Fix and simplify the WideCharToMultiByte and MultiByteToWideChar ↵reimar2007-03-041-24/+10
| | | | | | pseudo-implementations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22431 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
* Rework of copying samples from directshow codecs.voroshil2007-03-026-92/+71
| | | | | | | | Using callback function provided by filter to store and process samples from codec instead of explicit typecast to DS_Filter. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22416 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
* Fix wrong typecast, which can cause MPlayer crashvoroshil2007-02-261-3/+3
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22352 b3059339-0415-0410-9bf9-f77b7e298cf2
* Replace __MINGW32__ by more consistent WIN32_LOADER. This should fix ↵voroshil2007-02-251-2/+1
| | | | | | | | | compilation under cygwin. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22343 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix loading of mpeg4ds direct show video codec under win32, broken in r22322voroshil2007-02-231-0/+19
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22325 b3059339-0415-0410-9bf9-f77b7e298cf2
* Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyedvoroshil2007-02-231-0/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22324 b3059339-0415-0410-9bf9-f77b7e298cf2
* Moving duplicated (and sometimes wrong) AM_MEDIA_TYPE related code into ↵voroshil2007-02-237-43/+272
| | | | | | separate file git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22323 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fixed loading of VoxWare and wma9sp binary audio codecs using dshow engine.voroshil2007-02-234-27/+38
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22322 b3059339-0415-0410-9bf9-f77b7e298cf2
* Precent overflow of this->m_sVhdr->bmiHeader buffer, may have beenrtogni2007-02-111-0/+1
| | | | | | | exploitable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
* Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been rtogni2007-02-111-0/+1
| | | | | | | | exploitable. Reported by Moritz Jodeit git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22204 b3059339-0415-0410-9bf9-f77b7e298cf2
* Doxygen comments for used DirectShow methods.voroshil2007-01-282-2/+969
| | | | | | | | Info was got from DirectShow SDK. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22046 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix overlooked debug messagevoroshil2007-01-271-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22035 b3059339-0415-0410-9bf9-f77b7e298cf2
* Changing debug messages and renaming method names according to theirvoroshil2007-01-271-29/+29
| | | | | | | implementations. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22034 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix typos from previous commitvoroshil2007-01-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22033 b3059339-0415-0410-9bf9-f77b7e298cf2
* Cosmetics. Doxygen comments.voroshil2007-01-271-6/+484
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22032 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove illegal definition of underscored-prefixed symbol "__MODULE__":gpoirier2007-01-264-8/+0
| | | | | | | | | | | | | | All underscored-prefixed symbols have the right re-defined by the compiler, so it's definitely not safe to use any. ICC doesn't seem to like it, GCC doesn't seem to care. Original thread: date: Jan 25, 2007 2:41 PM subject: [MPlayer-dev-eng] [PATCH] remove illegal underscored-prefixed symbols AND date: 01/25/2007 11:43 AM subject: Re: [MPlayer-dev-eng] [PATCH] compiling with Intel C git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22019 b3059339-0415-0410-9bf9-f77b7e298cf2
* Fix crashes in loader code: There is still some code that can not handle ↵reimar2006-12-161-0/+2
| | | | | | | | | omitted frame pointers. And next time think thrice before changing loader Makefiles!!! git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21640 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-293-20/+21
| | | | 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 #ifdef __OpenBSD__, there is no indication this is needed.diego2006-11-281-1/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21356 b3059339-0415-0410-9bf9-f77b7e298cf2
* wrapper.S should be compiled on non-Darwin, non-Windows systems.diego2006-11-271-2/+1
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21331 b3059339-0415-0410-9bf9-f77b7e298cf2
* Remove unused unk_exp1 loader asm codereimar2006-11-272-29/+0
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21329 b3059339-0415-0410-9bf9-f77b7e298cf2
* simplify test targetdiego2006-11-271-2/+2
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21314 b3059339-0415-0410-9bf9-f77b7e298cf2
* fix compilation for win32 dll codec support for intel osxnplourde2006-11-275-16/+36
| | | | 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-267-2/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21277 b3059339-0415-0410-9bf9-f77b7e298cf2
* Merge common parts of all Makefiles into one file included by all.diego2006-11-261-21/+6
| | | | git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
* Revert r21251 (moving loader/config.h con