diego
517a64c42e
warning fixes:
...
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
2007-09-10 13:16:44 +00:00
diego
0865edbc5d
warning fixes:
...
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
2007-09-10 13:10:44 +00:00
diego
3f522888be
warning fixes:
...
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
2007-09-10 13:08:46 +00:00
diego
ca743e59fd
warning fixes:
...
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
2007-09-10 13:06:54 +00:00
diego
5277e4f075
warning fixes:
...
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
2007-09-10 13:03:20 +00:00
diego
286467904a
warning fix:
...
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
2007-09-10 12:54:32 +00:00
diego
f3cb7097cf
warning fixes:
...
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
2007-09-10 12:51:26 +00:00
diego
ffe4478efe
warning fixes:
...
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
2007-09-10 11:41:26 +00:00
diego
f45eb00c5d
warning fixes:
...
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
2007-09-10 11:34:58 +00:00
diego
284037012e
warning fixes:
...
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
2007-09-10 11:31:51 +00:00
diego
9ac38fa4c6
warning fix:
...
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
2007-09-10 11:28:55 +00:00
voroshil
cf5ef1660a
Avoid releasing of unallocated memory.
...
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
2007-09-08 12:15:15 +00:00
voroshil
72d755e7dd
Always initialize pUnk pointer with zero.
...
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
2007-09-08 06:01:43 +00:00
diego
ea66106b4c
Revert last commit, -mstackrealign was added in gcc 4.2 and should not
...
be used unconditionally.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24221 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-27 09:12:35 +00:00
diego
835443cdfe
Add -mstackrealign to CFLAGS on Darwin, fixes loading WMV9 DLL.
...
patch by Ulion, ulion2002 gmail com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24142 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-24 12:49:59 +00:00
reimar
49987047a3
Ugly hack to make xanlib.dll work.
...
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
2007-08-01 03:30:38 +00:00
diego
b000a6a519
ISO8859-1 --> UTF-8
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23754 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-07-09 19:50:36 +00:00
voroshil
ccbdda2c66
Add regular #define for header file.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23513 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-08 12:18:44 +00:00
diego
4767b92545
10l: Remove overlooked instance of NOAVIFILE_HEADERS.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23450 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 14:38:45 +00:00
diego
efb42f1aaa
Get rid of superfluous __WINE__ #define, it was always enabled and
...
cluttered the code. Blessed by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23448 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 12:27:33 +00:00
diego
4f88dffa13
Get rid of superfluous NOAVIFILE_HEADERS #define, it was always enabled and
...
cluttered the code. Blessed by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23447 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 12:26:27 +00:00
diego
09ea65448e
Get rid of superfluous MPLAYER #define, it was always enabled and
...
cluttered the code. Blessed by Reimar.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23446 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-06-02 12:24:35 +00:00
diego
e1120b099e
typo fixes ported from VLC
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22893 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-04-01 14:42:13 +00:00
nicodvb
a09d3e1bc7
check that definition of prototype of sysi86(int, void*) doesn't conflict; fixed compilation in opensolaris
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22733 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-18 22:18:11 +00:00
diego
1e6f97cf30
Use explicit path for headers from the dshow/ subdirectory.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22625 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-15 22:38:13 +00:00
diego
5519d98983
cosmetics: Fix indentation, reorder some lines for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego
60b39e2786
Give more descriptive names to the source and library variables and split
...
between common, MPlayer-specific and MEncoder-specific parts.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
reimar
8021dffeda
Support function lookup via ordinal
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22494 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 22:29:00 +00:00
reimar
c598146e4a
Allow declaring special undefined functions that will return NULL
...
instead of a pointer to a stub.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22493 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-08 22:25:13 +00:00
reimar
2987b207ed
Fix and simplify the WideCharToMultiByte and MultiByteToWideChar pseudo-implementations.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22431 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-04 09:04:45 +00:00
reimar
96344b6d9c
The original asm code for the stub returned 0, restore that behaviour.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22424 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-03 17:25:18 +00:00
voroshil
e9e53f8cd0
Rework of copying samples from directshow codecs.
...
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
2007-03-02 18:52:10 +00:00
voroshil
fe0982a10c
Update 3ivx decoder to latest version and allow it to load required library.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22385 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-01 02:26:08 +00:00
voroshil
ecd2116704
Fix wrong typecast, which can cause MPlayer crash
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22352 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-26 17:21:17 +00:00
voroshil
0b53d363d4
Replace __MINGW32__ by more consistent WIN32_LOADER. This should fix compilation under
...
cygwin.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22343 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-25 14:59:53 +00:00
voroshil
09d15d04c2
Fix loading of mpeg4ds direct show video codec under win32, broken in r22322
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22325 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 16:30:10 +00:00
voroshil
fe35a2d081
Free AM_MEDIA_TYPE structure content when CEnumMediaTypes object is destroyed
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22324 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 10:59:54 +00:00
voroshil
a98fcdb7b3
Moving duplicated (and sometimes wrong) AM_MEDIA_TYPE related code into separate file
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22323 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 09:58:01 +00:00
voroshil
e33a1695ba
Fixed loading of VoxWare and wma9sp binary audio codecs using dshow engine.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22322 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-23 08:07:07 +00:00
rtogni
656c22ca16
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
...
exploitable.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22205 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:57:02 +00:00
rtogni
2ea691d6f3
Precent overflow of this->m_sVhdr->bmiHeader buffer, may have been
...
exploitable.
Reported by Moritz Jodeit
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22204 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-02-11 17:55:49 +00:00
voroshil
99c144b6de
Doxygen comments for used DirectShow methods.
...
Info was got from DirectShow SDK.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22046 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-28 16:53:33 +00:00
voroshil
91629bc111
fix overlooked debug message
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22035 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 17:01:54 +00:00
voroshil
f722b60a29
Changing debug messages and renaming method names according to their
...
implementations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22034 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 16:41:01 +00:00
voroshil
e83175521f
fix typos from previous commit
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22033 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 16:28:16 +00:00
voroshil
3cf9c58559
Cosmetics. Doxygen comments.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22032 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-01-27 15:49:53 +00:00
gpoirier
b74e51f49c
Remove illegal definition of underscored-prefixed symbol "__MODULE__":
...
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
2007-01-26 09:21:22 +00:00
reimar
a8753ff236
Fix crashes in loader code: There is still some code that can not handle 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
2006-12-16 23:59:06 +00:00
reimar
190f080791
mmap memory area for generated code to avoid crashes on machines which
...
support noexec
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21478 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 20:26:00 +00:00
reimar
80439005c7
Fix 21381, make sure gcc does not make any ip-relative calls or similar.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21477 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-12-03 19:49:39 +00:00