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
reimar
9e9d77018e
Get rid of stubs.S, move code to inline asm.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21384 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:56:52 +00:00
reimar
2199f67906
Cosmetics: remove unused and commented out add_stub function header
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21383 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:55:17 +00:00
reimar
8f874369b5
Some extra checks and safety space for add_stub function.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21382 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:44:05 +00:00
reimar
383008da88
Change add_stub code to also work without -fomit-frame-pointer
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21381 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-29 12:20:05 +00:00
diego
bbd224d152
Remove #ifdef __OpenBSD__, there is no indication this is needed.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21356 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-28 12:46:38 +00:00
diego
e871b9fa88
wrapper.S should be compiled on non-Darwin, non-Windows systems.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21331 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 16:47:27 +00:00
reimar
8a0d93d89e
Remove unused unk_exp1 loader asm code
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21329 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 16:17:29 +00:00
diego
0e817305fa
simplify test target
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21314 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 11:25:15 +00:00
nplourde
fc59977ac9
fix compilation for win32 dll codec support for intel osx
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21306 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-27 02:44:06 +00:00
diego
eabe7092f7
Rename config.h --> debug.h and include config.h explicitly.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21277 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:33:41 +00:00
diego
dc2be42703
Merge common parts of all Makefiles into one file included by all.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
uau
a5ddf3c531
Revert r21251 (moving loader/config.h contents to main config.h).
...
There are #ifdef TRACE tests in libav* and defining TRACE in toplevel
config.h breaks things.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21265 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:17:50 +00:00
reimar
7142e36d1f
Remove useless fd parameter for mmap_anon
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21264 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:09:46 +00:00
reimar
7d6341459a
Fix loader code: closed .dll file handles when it should not
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21262 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 13:02:02 +00:00
reimar
04459fd6a3
open /dev/zero left over from mmap_anon patch
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21260 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 12:55:09 +00:00
diego
33d70768f9
Move contents of loader/config.h to configure/config.h, there are
...
multiple files by that name, this can cause problems.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21251 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 20:53:43 +00:00
diego
293c11d3b2
There are no more .depend files in subdirectories.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21234 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 17:31:07 +00:00
diego
27b0177662
Remove superfluous comment.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
nplourde
ac04dcd625
added mmap_anon to osdep lib. Used in loader for now
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21203 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 01:22:20 +00:00
diego
58a9204e79
Make loader Makefile non-recursive.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21201 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:31:07 +00:00
diego
cd18aec18a
Use $@ and $^ to designate target and prerequisites.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21200 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:12:08 +00:00
diego
4f36a70cd2
cosmetics: Move around targets for consistency.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21199 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:09:39 +00:00
diego
3584246d2d
Remove superfluous suffix rule.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21198 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 00:08:15 +00:00
diego
739bd0d941
Handle stubs.s like all other source files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21197 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 23:49:30 +00:00
diego
15ea8dba89
Remove .depend on distclean.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21195 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 20:20:26 +00:00
diego
d7a50788df
Clean up CFLAGS handling.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21194 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 20:19:29 +00:00
diego
15597c329f
Remove bug workarounds for ancient gcc and libc versions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21185 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-24 00:42:44 +00:00
diego
cf4bf03dc2
Unify dep/depend targets.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
reimar
5f82784a5c
Hack to make wrapper.S be compiled again. Someone who knows make please fix properly.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20851 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 22:08:27 +00:00
diego
3c91c8d573
Add standard depend target.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20843 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:31:12 +00:00
diego
cfe0d9ff92
Remove loader_objfix.sh hack, it's only needed for very old OpenBSD versions.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20842 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:28:53 +00:00
diego
a70fd19af3
Use default variable names.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20841 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:27:33 +00:00
diego
6d06eb4082
Remove redundant variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20840 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-10 18:19:33 +00:00
rtogni
13ecb664fb
Dummy EnumDisplaySettingsA, required by frapsvid.dll 2.8.1
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20668 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-04 16:25:32 +00:00
diego
d2398d1d28
Remove reference to non-existent variable.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19502 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-22 23:23:37 +00:00
diego
b02e7924b9
Move all internal -I parameters to the front of CFLAGS to avoid using external
...
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
diego
4ceb255a7d
consistency cosmetics: Add -DNOAVIFILE_HEADERS to CFLAGS instead of to INCLUDE.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19417 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-16 21:01:29 +00:00
diego
f7d4dd174b
OPTFLAGS already includes EXTRA_INC.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19042 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-12 17:58:07 +00:00
reynaldo
132173bbf0
get_path as const, patch by Stefan Huehner, stefan AT huehner-org
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18894 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-03 23:27:37 +00:00
reynaldo
9d9a15d185
rm unnecesary casts from void* - part 2
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18883 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-02 03:59:36 +00:00
reynaldo
c71983202c
gets ride of a few more sizeof(char)s
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18862 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-30 04:24:07 +00:00
diego
57f3213401
CVS --> Subversion in copyright notices
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
banan
4d130db787
Nop some instructions causing the vfwvp6 dll encoder to crash.
...
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
2006-06-07 18:18:57 +00:00
reimar
3110ad4865
Fix runtime-patching code to take into account the address when the codec is 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
2006-06-07 13:12:11 +00:00
corey
fe633fe1ea
Change "Supress" to "Suppress" in a couple comments.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18614 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-07 00:15:28 +00:00
rtogni
c7ff0c643a
Support WVC1 decoding via dmo binary codec wvc1dmod.dll
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18581 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-05 18:41:01 +00:00
diego
4b64ef7e8e
Remove now obsolete .cvsignore files.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
rathann
905c2b870b
Remove extra return.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18487 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-05-13 18:38:57 +00:00
diego
4a98d0a313
Add a check for sysi86() on Solaris systems, solving a build failure on Solaris
...
10 x86 to avoid using a local declaration that is no longer compatible.
patch by "Derek E. Lewis", dlewis $$@$$ solnetworks %%.%% net
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18363 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-30 21:17:30 +00:00
henry
28ce0758cf
include MSGL_* definitions
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17979 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 18:31:04 +00:00
diego
a33158d60d
Convert printfs in aviprint.c to mp_msg and give the information printing
...
functions in this file a verbosity_level parameter.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17978 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-27 17:25:41 +00:00
diego
3e56c5bb6b
cosmetics: Shorten overly long lines, put SRCS/OBJS on individual lines
...
to ease patching in the future.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17944 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-25 10:38:37 +00:00
diego
eebf08b978
Convert all if(verbose>X) to mp_msg_test calls.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17933 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-03-24 08:12:03 +00:00
alex
f41945b508
one more hint for openbsd
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17606 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-12 14:14:12 +00:00
diego
89d549f984
Make clean/distclean behave uniformly in all directories.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17489 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-01-27 00:06:42 +00:00
rtognimp
bb856b5be1
export ldexp() and frexp() in pncrt, they are needed by rp8 sipr dll
...
Patch by Benjamin Larsson
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17073 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 21:59:24 +00:00
rtognimp
a1ebcb2ae6
Add CharNextA(), needed by rp8 sipr dll
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17072 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-01 20:13:19 +00:00
diego
56770b6eef
Unify include paths, -I.. is in CFLAGS.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17021 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-11-19 14:35:45 +00:00
reimar
00e3391bae
expGetSystemInfo should not leave SYSTEM_INFO unitialized, even when
...
/proc/cpuinfo is unreadable. Fixes some weird behaviour with the wmv decoder
(it tries multithreaded decode).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16651 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-03 19:11:55 +00:00
reimar
a669b97dd2
Several minor fixes: Correctly advertise SSE and SSE2 instruction sets,
...
add MSVCRT._winver and KERNEL32.GetThreadPriority exports.
Should fix some crashes esp. with wmv9dmo.dll
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16633 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-10-02 14:26:42 +00:00
reimar
1e1ee8b7b0
Support On2 VP7 via binary decoder by implementing USER32.RegisterClipboardFormatA,
...
SHLWAPI.PathFindExtensionA and SHLWAPI.PathFindFileNameA.
Tested with http://www.on2.com/vp7_samples/potter-40.vp7 .
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16339 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-09-01 20:42:13 +00:00
ivo
452c2ba5da
Remove stray MSDOS linebreaks
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16195 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-10 22:48:32 +00:00
iive
7a7b157a2d
hardcode SYNC flag, so no problems could rise if first frame is skipped
...
frame skipping is still done by passing NULL buffer to the decoder
patch by Shachar Raindel <shacharr at gmail.com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15920 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-05 09:47:12 +00:00
faust3
869decabf8
mingw and maybe other system define the __int* types to char, short..., so the typedefs become typedef char char; etc.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15692 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-07 13:54:17 +00:00
rtognimp
6349fe66d9
This currently sends control characters to the terminal instead of
...
meaningful names. Since some names are longer than 4 characters, I
propose the following approach.
Patch by + a ! guru #at# sympatico ! ca +
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15575 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-26 21:57:24 +00:00
diego
8308e63eb1
DragonFly BSD support
...
patch by Joerg Sonnenberger <joerg - at - britannica - dot - bec - dot - de>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15567 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-25 08:48:32 +00:00
rtognimp
bb10329621
FRAPS decoder (FPS1) with binary dll
...
Patch by Gianluigi Tiesi
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15475 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-14 23:31:29 +00:00
diego
f5e88339a5
Mark modified imported files as such to comply with GPL §2a.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15167 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-15 20:17:14 +00:00
reimar
ce701ae438
initialize modify_ldt struct to 0.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14538 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-19 17:03:59 +00:00
diego
c2a4be43c7
icc support by Darek Ostolski <ostolski at kwantum dot gda dot pl>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14493 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-01-14 00:14:45 +00:00
reimar
54d4ed8611
add missing registers in clobber list, fixes bug #169
...
Patch by basic basic (at) mozdev [dot] org
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14213 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-12-21 23:26:45 +00:00
atmos4
a2f47e9648
gcc-4.0.0-20041024 compile-fix
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13828 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-31 15:40:47 +00:00
faust3
4f9ec2c516
AMD64 fixes based on patch by Timo Teräs <timo.teras@iki.fi>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13810 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-30 12:17:16 +00:00
rtognimp
cf4cc05fa8
Support wmspdmod.dll version 10.0.0.3646
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13752 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-24 21:56:51 +00:00
rtognimp
f37d6e0892
Decode VDOWave (VDOM) with binary codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13749 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-24 19:18:26 +00:00
rtognimp
afb80e95a7
Windows media video advanced profile (wmva) support via binary codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13746 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-24 00:29:57 +00:00
rtognimp
64039d1594
Fix for Windows media audio 9 voice codec (format 0x0a)
...
Tested with dll version 9.0.0.2926
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13740 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-23 15:47:08 +00:00
alex
90717623aa
better component_func
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13623 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-12 16:33:00 +00:00
alex
bf45cf730f
runtime patching vp31vfw.dll, so non-patched dlls can be used aswell. note: 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
2004-10-12 16:30:40 +00:00
rtognimp
f30d8e7989
Windows Media Image (WMVP) can be decoded with WMV9 dmo codec
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13599 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-10-09 22:14:36 +00:00
diego
9cb46b52d1
Reduce excessive verbosity a bit.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13380 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-18 14:17:45 +00:00
reimar
40e1870db5
force compilers not to optimize/inline extend_stack_for_dll_alloca
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13376 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-18 09:10:47 +00:00
faust3
7b545bbee6
10l
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13362 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-17 10:37:56 +00:00
faust3
56f0d012e3
declare modify_ldt with syscall3 macro for older glibcs patch by Mikulas Patocka <mikulas at artax.karlin.mff.cuni.cz>
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13352 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-16 07:58:19 +00:00
rtognimp
d73d711330
100l
...
sys_errlist[] is deprecated and breaks compilation on some systems,
replaced it with strerror()
also commented out the printf
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13307 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-10 22:22:02 +00:00
rtognimp
9e9aec9bf9
Fixes for VirtualAlloc function:
...
* mplayer received a SIGSEGV under Linux after
Opening video decoder: [dmo] DMO video codecs
VirtualAlloc(0x00400000, 859648, 0x00003000, 0x00000040)
because that region was already under use and mmap() with
MAP_FIXED has problems under Linux (see code).
VirtualAlloc() fixed in "loader/ext.c".
* VirtualAlloc() made to conform with win32 documented behavior
regarding the alignment of the address and size arguments.
* VirtualAlloc() detection of overlap with previous regions fixed.
Patch by A. Guru ( a.guru at sympatico dot ca )
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13304 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-09-10 16:39:31 +00:00
rathann
644c09f266
loader gcc warning fixes and avifile sync
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@13183 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-28 20:22:38 +00:00
wight
2e45172c98
Better protection against double definition of MPEGLAYER3WAVEFORMAT
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12980 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-09 15:53:10 +00:00
rtognimp
9cc051e7d8
Support for Winnov Videum WINX and WNV1 codecs with binary dll
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12736 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-30 22:00:53 +00:00
faust3
4bf094ac51
fix loader build on windows
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12681 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-26 10:40:23 +00:00
alex
338c43ca13
more verbosity
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12656 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-25 17:03:30 +00:00
alex
0fc20ac930
ranlib cleanup by Dan Christiansen
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12633 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-06-24 12:52:17 +00:00
rtognimp
23f3f1f807
Support vp6vfw.dll version 6.0.7.3
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12423 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-04 21:20:58 +00:00
rfelker
167336d2df
more stupidity
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12375 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-05-01 18:25:24 +00:00
rfelker
92aa4728d6
minimal fix for alex's 1000000000000l compile errors. imo the fix in
...
aviheader.h is totally correct. defining useless typedefs that can
conflict with other headers is bad practice. i don't like editing
mmreg.h but oh well... if you have a better fix, commit it! finally,
the fix in the ad_ and vd_ files seems totally correct.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12357 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-30 10:26:26 +00:00
diego
14d6e9b032
Less verbosity by moving some debug messages from printf --> dbgprintf.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12259 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-23 11:50:23 +00:00
diego
475ed912c4
Make wmv9 playback less verbose.
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12075 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-27 13:57:47 +00:00
rtognimp
685c598094
Support for Alparysoft lossless video codec (DShow and VfW)
...
Patch by Melisha Johnson <adland123 (at) yahoo (dot) com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12067 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-25 21:36:18 +00:00
rtognimp
529301799f
Add support for Lead MCMW 2.0 wavelet codec eval version
...
Requires LCODCCMW2E.dll and LCMW2.dll
Patch by adland <adland123 (at) yahoo (dot) com>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12060 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-23 20:08:28 +00:00
rtognimp
1fac9f9861
Support for vp5 and vp6 dll decoders
...
Patch by Reimar Doeffinger
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12043 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-03-18 22:00:31 +00:00
attila
333832e130
* changes mencoder's exit code on explicit kill to 2
...
* add quiet/noquiet to mencoder
* dont depend targets on themselfs
patch by Oswald Buddenhagen <ossi@kde.org>
additionaly moved quiet/noquiet and v/verbose to cfg-common.h
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11876 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-29 12:01:26 +00:00
alex
24dc93eeb1
switch to inttypes.h (u_int32_t vs uint32_t) in favour of Solaris9/x86 support
...
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11869 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-29 08:37:35 +00:00