1
mirror of https://github.com/mpv-player/mpv synced 2024-07-31 16:29:58 +02:00
Commit Graph

510 Commits

Author SHA1 Message Date
diego
ec3cc468ca cosmetics: Replace unused 'argc/argv' in main declarations by 'void'.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28634 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 12:00:43 +00:00
diego
be8c67909b Convert HAVE_MALLOC_H into a 0/1 definition, fixes the warning:
mem.c:32:5: warning: "HAVE_MALLOC_H" is not defined


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28629 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-17 11:16:19 +00:00
diego
1b915e419e Replace double semicolon by single semicolon.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28611 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 02:00:29 +00:00
compn
16e790999a remove sys/timeb.h include
fixes compilation on uClibc based i386 system
patch by Markus Heidelberg markus(x.x)heidelberg(x@x)web(x.x)de
ok'd by diego


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28387 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-29 03:36:14 +00:00
diego
cc52547ece Reduce QuickTime binary decoder verbosity.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28340 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-17 21:33:30 +00:00
diego
e117f31d23 #include the appropriate header instead of using local declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28268 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:53:45 +00:00
diego
824abb5a65 Add missing 'void' keyword to parameterless function declarations.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28267 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-05 14:48:03 +00:00
diego
47044eb841 Avoid u_ BSD type names.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28197 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-27 12:03:51 +00:00
diego
8af5e8b497 Change some printf calls to 'Debug printf' so as not to pollute stdout.
based on a patch by Zhou Zongyi, zhouzongyi pset.suntec net


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28128 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-11 21:29:01 +00:00
reimar
45904b63ef Re-add "extern"s incorrectly removed in r28085
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28088 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-04 15:07:15 +00:00
diego
0864f92e7a Get rid of pointless 'extern' keywords.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28085 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-12-03 23:01:03 +00:00
reimar
5fefd9f70a Missing free in malloc error case in COutputPinCreate.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27871 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-31 13:13:52 +00:00
reimar
fa504971c5 Avoid useless casts of malloc results.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27870 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-31 13:12:54 +00:00
diego
33c347f66e Translate a Hungarian comment, thanks to Denes Balatoni.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27806 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-19 20:02:21 +00:00
diego
26b29f4f2d Replace all occurrences of '__volatile__' and '__volatile' by plain 'volatile'.
We were using an inconsistent mix of the three variants and 'volatile' should
be the most correct and portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27791 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 20:17:56 +00:00
diego
6b52a2e974 Change all occurrences of asm and __asm to __asm__, same as was done for FFmpeg.
Neither variant is valid C99 syntax, but __asm__ is the most portable variant.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27788 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-16 18:59:27 +00:00
diego
8322f0aef1 Remove pointless #ifdef around the whole file, it is just a complicated #if 1.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27760 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-10-13 16:06:15 +00:00
diego
984d028cd2 Remove duplicate vsscanf fallback implementation, we have another in osdep/.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27476 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-22 20:53:44 +00:00
diego
7d6022deba Do not provide a prototype for vsscanf when vsscanf is available.
Fixes a redundant redeclaration warning.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27396 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-08-02 17:09:13 +00:00
diego
4b141479da Start unifying names of internal preprocessor directives.
Replace all USE_ prefixes by CONFIG_ prefixes to indicate
options which are configurable.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27373 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-07-30 12:01:30 +00:00
diego
4b34771463 Rename loader/driver.[ch] to loader/drv.[ch], otherwise loader/driver.h can
conflict with the header by the same name in loader/wine/driver.h.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@27031 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-06-08 10:43:30 +00:00
diego
bc0058c63e cosmetics: Remove pointless parentheses from return statements.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26789 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-05-16 09:31:55 +00:00
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