Commit Graph

488 Commits

Author SHA1 Message Date
diego 0792780cb7 Use consistent #include paths without "../".
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26576 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 14:50:24 +00:00
diego 238670ae7c Merge loader/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26573 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 14:01:58 +00:00
diego 9a885b71aa Remove calls to Restore_LDT_Keeper, exit() is called immediately afterwards
anyway. The calls were missing parameters and caused compilation failures.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26570 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 13:07:01 +00:00
diego 09e2855266 Add missing ldt_keeper.h #include; this fixes a bunch of implicit declaration
of function warnings.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26569 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 13:05:25 +00:00
diego ac3e5f24e9 Merge TEST_OBJS and TEST_LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26568 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:41:39 +00:00
diego a3cef8cd25 Add -g to CFLAGS, not to LDFLAGS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26567 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:39:15 +00:00
diego 944489b835 Merge test program compilation rules using patterns.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26566 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:35:20 +00:00
diego 305dfe091f Add CFLAGS to test program compilation commands.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26565 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:34:30 +00:00
diego 181b0a7a46 Add missing ../osdep/mmap_anon.o to TEST_OBJS.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26564 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:32:23 +00:00
diego e59cb06784 Remove unnecessary linker flags.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26563 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:31:24 +00:00
diego 35649cad4a Add missing #include, fixes the warning:
qtx/qtxload.c:50: warning: implicit declaration of function 'mp_msg_init'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26562 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:03:52 +00:00
diego 7f6d9b2b91 Adjust printf length modifier, fixes the warning:
qtx/list.c:54: warning: format '%d' expects type 'int', but argument 2 has type 'long int'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26561 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 12:01:13 +00:00
diego f2d8773fca Comment out variables only used in commented-out code, fixes the warnings:
qtx/qtxload.c:46: warning: unused variable 'i'
qtx/qtxload.c:45: warning: unused variable 'esp'


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26560 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 11:57:38 +00:00
diego 5540775eb8 Link against individual objects, the osdep library is not generated anymore.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26559 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 11:55:21 +00:00
diego a001647301 Remove obsolete and non-working test program.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26558 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-28 11:52:56 +00:00
diego 916058bd22 Use directory name as library name template.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26498 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-22 21:51:41 +00:00
rtogni 61c5bf8d61 Fix potential segfault in debug printf in expSetFilePointer
Patch by Gianluigi Tiesi


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26486 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-21 20:58:20 +00:00
rtogni 7c4e867c4d Support for MSU SCLS (Screen Capture Lossless Codec) with SCLS.DLL
codecs.conf patch by AsSlowAsHell |asslowashell | g m a i l|
win32.c patch by me


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26476 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 21:13:17 +00:00
rtogni 8f56930458 Add support for msn siren audio coced via binary dll sirenacm.dll
Based on a patch by Ruuds "roadrunnerswife" "users sourceforge net"
Closes bugzilla #963


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26473 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-20 16:06:41 +00:00
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