1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-18 12:55:16 +00:00
Commit Graph

457 Commits

Author SHA1 Message Date
diego
afb46fd9f4 Remove misplaced #endif comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26056 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-21 22:28:58 +00:00
diego
1c12fd33d0 Get rid of redundant dbg_printf redefinition. Fixes some warnings:
wine/debugtools.h:57: warning: useless type name in empty declaration


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25898 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 08:48:16 +00:00
diego
fe9ec3ffdd Consistently use uppercase filename as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25897 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:32:52 +00:00
reimar
2da6e47a62 Remove $Id$ tags, they make diffs between different versions
harder to read than necessary.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25877 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-27 12:15:27 +00:00
diego
57d162c7a5 Disable unused functions find_handle_2, find_handle_by_name, fixes the warning:
registry.c:317: warning: 'find_handle_2' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25835 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:18:58 +00:00
diego
e68f2215aa Disable unused function test_heap, fixes the warning:
win32.c:255: warning: 'test_heap' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25834 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:16:18 +00:00
diego
d44926d630 Remove unused function exp_ftol_wrong, fixes the warning:
win32.c:4273: warning: 'exp_ftol_wrong' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25833 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:15:06 +00:00
diego
7304096f87 Remove unused function fixup_address, fixes the warning:
pe_image.c:957: warning: 'fixup_address' defined but not used


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25832 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:12:47 +00:00
diego
f6031d6305 Remove unused DPRINTF__ macro.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25831 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-23 11:11:32 +00:00
diego
92c4228db1 Surround variable declarations by preprocessor conditionals to avoid warnings:
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
2008-01-21 00:14:52 +00:00
diego
67ce080c24 Comment out unused variables, fixes the warnings:
resource.c:117: warning: unused variable 'wm'
resource.c:140: warning: unused variable 'wm'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25825 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-21 00:10:51 +00:00
diego
3bbe897e24 Fix a ton of illegal identifiers. Identifiers starting with __ or _ and a
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
2008-01-20 17:16:39 +00:00
diego
fd3d8e7b3c Add missing #include, fixes the warning:
dshow/mediatype.c:89: warning: implicit declaration of function 'vo_format_name'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25803 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 15:20:18 +00:00
diego
fc6f2b51e3 Use ld conversion specifier for long int argument, fixes the warning:
dshow/outputpin.c:754: warning: format '%d' expects type 'int', but argument 3 has type 'long int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25802 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 15:08:01 +00:00
diego
8bde6dfbfd Add missing #include, fixes the warning:
elfdll.c:106: warning: implicit declaration of function 'TRACE'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25801 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-19 15:04:33 +00:00
reimar
47cbaf4c81 Remove another 2 useless casts
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25710 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 10:19:06 +00:00
reimar
a20fa53d69 Get rid of another useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25709 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 10:09:39 +00:00
reimar
e356da9b2f Remove a cast useless since r24425.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25708 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 10:01:27 +00:00
reimar
56aea56fc0 Move variable declaration into block where it is used.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25707 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 09:39:28 +00:00
reimar
2d3538e538 Remove result from warning string, it has no useful meaning here.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25706 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 09:38:39 +00:00
reimar
a66f248c25 Remove a useless cast
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25705 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-13 09:37:36 +00:00
diego
b93a11f93e Remove all test programs with 'make clean'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25622 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:50:13 +00:00
diego
7372e69048 /usr/lib/win32 --> /usr/local/lib/codecs
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25621 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:22:56 +00:00
diego
92a4156d2b Remove compilation command comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25620 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 12:20:41 +00:00
diego
5bde13b86b Comment out non-existing mp_msg_set_level function to fix linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25618 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 11:56:03 +00:00
diego
e69da423b6 Fix compilation by replacing a broken macro with in-place code.
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
2008-01-06 11:53:51 +00:00
diego
91f3b6460e Fix compilation due to conflicting type declaration:
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
2008-01-06 11:45:47 +00:00
diego
7229f29d19 Add missing #include so that the header works standalone.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25615 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 11:43:14 +00:00
diego
444ec084df Add proper compilation rules for qtx/list and qtx/qtxload and remove silly
compilation shell script.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25614 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 11:40:49 +00:00
diego
744aba2ae0 Get the dshow test program closer to linking.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25613 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-06 11:27:07 +00:00
diego
c6fadb653d Fix warnings:
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
2008-01-06 11:20:34 +00:00
diego
bf1ff2620f Add missing #includes to fix compilation:
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
2008-01-06 11:19:48 +00:00
diego
0c6f106937 Fix typo, LIBNAME should be LIBNAME_COMMON.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25606 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-05 14:32:46 +00:00
diego
2b6af2000b Add multiple inclusion guards to all header files that lack them.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25581 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 21:35:58 +00:00
diego
6b64884159 Consistently use just the name of the #ifdef directive in preprocessor comments.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25576 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:07:21 +00:00
diego
60fa2be5d7 consistency cosmetics
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25575 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-01 20:05:36 +00:00
diego
fba0b66ff9 Add explanatory comments to the #endif part of multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25563 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:15:50 +00:00
diego
2f7e5f028e Stop MPlayer from complaining about bogus AviSynth DLL load failures.
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
2007-12-18 09:13:19 +00:00
reimar
0f50b44313 Replace hardcoded 0 by equivalent O_RDONLY
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24830 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-21 13:45:04 +00:00
compn
dac13715ce add comment to endif
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24806 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-10-18 12:43:57 +00:00
compn
c040ef5660 Add Coinitialize function to vfw encoder and win32 loader.
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
2007-10-17 05:14:21 +00:00
diego
60eaa3a7da Detect support of and add necessary CFLAGS to avoid crashes when loading
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
2007-10-01 22:46:33 +00:00
voroshil
4357e135eb Move AM_MEDIA_TYPE structure definition to mediatype.h.
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
2007-09-13 16:13:37 +00:00
diego
52a20f8579 Remove leading underscores from multiple inclusion guards,
leading underscores are reserved in the C standard.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24442 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 08:50:21 +00:00
diego
a94ff0adc4 Fix include path.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24441 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-13 00:17:52 +00:00
diego
a485b5d748 Remove redundant #ifndef, __WINE_MMSYSTEM_H is never defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24440 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:42:30 +00:00
diego
d81a386693 cosmetics: Use uppercase for multiple inclusion guards and comment #endifs.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24439 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:16:39 +00:00
diego
c374720467 Remove useless #ifndef, __WINE_WINGDI_H is never defined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24438 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:14:55 +00:00
diego
254f0f1028 Remove redundant multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24437 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 23:13:53 +00:00
diego
802b125c30 Consistently use path as multiple inclusion guard.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24433 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-09-12 15:30:22 +00:00