Commit Graph

469 Commits

Author SHA1 Message Date
diego 5d2aa200e8 cosmetics: prettyprinting and alphabetical order
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26150 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 18:15:35 +00:00
diego 98669ebdce Move decision about whether or not to compile Windows emulation
infrastructure to configure.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26149 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 18:12:05 +00:00
diego e834773166 Move decision about whether or not to compile wrapper.S to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26148 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 17:51:36 +00:00
diego d47c6f5f32 Add CFLAG_STACKREALIGN unconditionally to win32.o CFLAGS, configure takes care
of setting it only when necessary anyway.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26147 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 17:50:25 +00:00
diego 5e6231b340 #include osdep/mman.h if sys/mman.h is not available.
patch by KO Myung-Hun, komh chollian net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26143 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-03 09:47:01 +00:00
diego a27f73390f Revert fixing illegal identifiers to fix compilation on MinGW. Unfortunately
these identifiers appear in Windows system headers and are thus outside our
direct control.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26141 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-02 19:38:50 +00:00
diego 80104b1757 Fix illegal identifiers starting with _ and capital letters.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26138 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:48:29 +00:00
diego c03c4b5431 Wrap '#include <sys/mman.h>' in HAVE_SYS_MMAN_H.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26137 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:31:51 +00:00
diego 7a5924159c Replace __MINGW32__ preprocessor check with proper HAVE_SYS_MMAN_H check.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26136 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-03-01 10:16:43 +00:00
diego c9836ea2b0 Add missing #includes for Mac OS X, fixes the warning
ldt_keeper.c:243: warning: implicit declaration of function i386_set_ldt
patch by Elias Pipping, elias pipping org


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26086 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 12:18:01 +00:00
cehoyos 5f34c7b2aa Check for -mno-omit-leaf-frame-pointer (compilation fix for icc 10.1.012).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26080 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-24 11:15:30 +00:00
diego bb7b132e08 Add MPLAYER_ prefix to multiple inclusion guards.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26077 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-02-23 14:50:55 +00:00
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