1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 00:02:13 +00:00
Commit Graph

106 Commits

Author SHA1 Message Date
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
rathann
e7db4ccf1a Patch by Stefan Huehner / stefan % huehner ! org \
patch replaces '()' for the correct '(void)' in function
declarations/prototypes which have no parameters. The '()' syntax tell
thats there is a variable list of arguments, so that the compiler cannot
check this. The extra CFLAG '-Wstrict-declarations' shows those cases.

Comments about a similar patch applied to ffmpeg:

That in C++ these mean the same, but in ANSI C the semantics are
different; function() is an (obsolete) K&R C style forward declaration,
it basically means that the function can have any number and any types
of parameters, effectively completely preventing the compiler from doing
any sort of type checking. -- Erik Slagter

Defining functions with unspecified arguments is allowed but bad.
With arguments unspecified the compiler can't report an error/warning
if the function is called with incorrect arguments. -- Måns Rullgård


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17567 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-02-09 14:08:03 +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
rathann
c342ad43cd add missing -I..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17102 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:34:47 +00:00
aurel
1a1943b402 sync liba52_amd64_changes.diff with latest fix
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16192 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-09 22:56:57 +00:00
gpoirier
98f8e0088b Fixes segfault on IA-32 machines caused by the ASM patch for AMD-64 for a52.
Patch by Aurelien Jacobs < aurel AH gnuage POUM org >


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16190 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-09 19:58:13 +00:00
aurel
adfe956dc3 add the liba52 amd64 changes in a separate diff file
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16175 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 13:37:32 +00:00
aurel
236d514567 liba52 asm optimizations ported to amd64
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16174 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-05 13:33:50 +00:00
michael
3f3ef3d48b one bugfix and a few gcc4 bug workaorunds by (Gianluigi Tiesi: mplayer, netfarm it)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15618 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-06-02 20:54:03 +00:00
diego
882fe89f99 Mark modified files as such to comply more closely with GPL §2a.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14992 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 23:27:18 +00:00
diego
f330f720a0 MPlayer-specific changes to liba52
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14991 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-22 23:25:06 +00:00
reimar
adad534913 compilation fix for test program
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12967 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-08-07 14:15:55 +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
michael
813b34f68f attribute_used patch by (VMiklos <mamajom at axelero dot hu>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12304 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-26 19:47:50 +00:00
alex
3ab4de18b0 100l and sync with upstream, patch by rgselk
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12138 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-06 11:44:23 +00:00
faust3
2041a9a551 prevent crash in case we are unable to get aligned buffer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12090 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 12:35:17 +00:00
faust3
3076975c63 although this SSE fix is an ugly hack it seems to work fine for me
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@12089 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-04-01 10:35:30 +00:00
alex
ef74eff3e8 Altivec optimized stereo resampler by Romain Dolbeau (made it working under Linux myself)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@11850 b3059339-0415-0410-9bf9-f77b7e298cf2
2004-01-25 18:29:11 +00:00
alex
eb6fb0dbc9 Simplified/fixed altivec/altivec.h detection on Linux and Darwin (and others). Patch by Magnus Damm <damm@opensource.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10573 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-08-11 20:52:53 +00:00
alex
b7c68f8ad3 Changed swab32 from macro to inline function, this fixes compilation on alpha (with gcc2.95). Based on patch by KotH
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10490 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-07-27 23:02:58 +00:00
alex
c34a7dc93a arm support by armin.gerritsen@philips.com (also seen a patch like this on openzaurus' mplayer port)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10314 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-06-20 13:10:42 +00:00
michael
9109cc8d20 fixed alignment bug
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10083 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-07 23:25:25 +00:00
diego
01804c132c this is a important patch for hpux 11.00, because it avoid the
SIGBUS Signal Error if playing video direct from DVD-Rom.
Patch by Martin Gansser <mgansser@ngi.de>.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@10068 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-05-05 01:22:45 +00:00
arpi
54cbe5eec3 The two attached patches *should* allow for proper
compilation of the AltiVec stuff on both Darwin
and non-Darwin system. They've only been tested
for compilation on Debian using Debian's gcc-3.2.
Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9123 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-27 21:47:25 +00:00
arpi
418e699d7e An AltiVec-enhanced IMDCT for liba52 (liba52/imdct.c)
It's nearly bit-perfect, I have a couple of lsb
    changed in a 128 frames sample. I can't hear the
    differences :-)
patch by Romain Dolbeau <dolbeau@irisa.fr>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@9002 b3059339-0415-0410-9bf9-f77b7e298cf2
2003-01-18 19:28:29 +00:00
arpi
b987127e0e compiler warning fixes
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8452 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-12-14 17:56:35 +00:00
michael
01c201dbe8 warning patch by (Dominik Mierzejewski <dominik at rangers dot eu dot org>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8255 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-23 10:58:14 +00:00
michael
a137434053 minor optimization & gcc-CVS fix/workaround patch by (Glen Nakamura <glen at imodulo dot com>)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8231 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-18 10:12:03 +00:00
arpi
f859d013a8 *HUGE* set of compiler warning fixes, unused variables removal
based on patch by Dominik Mierzejewski <dominik@rangers.eu.org>


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8124 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-11-06 23:54:29 +00:00
jkeil
3d21da3186 The ALT_BITSTREAM_READER code does not work on SPARC, because the code accesses
32-bit works from unaligned addresses.  For now, disable ALT_BITSTREAM_READER
on SPARC.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7256 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-09-03 17:15:08 +00:00
arpi
ae8ff3e445 use dir/libname.a instead of -Ldir -lname
partially done by "Steven M. Schultz" <sms@2BSD.COM>
Note: some entries (libmpdvdkit, libdha) left unchanged as they may be
dynamic and not shipped with mplayer.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7149 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-08-29 21:30:57 +00:00
arpi
278b3ae129 various openbsd and general warning fixes - patch by Björn Sandell <biorn@dce.chalmers.se>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6058 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-05-12 02:18:52 +00:00
michael
65a461036c trying to fix nicks bugs ...
someone with a 3dnow cpu please test this ASAP


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@5913 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-04-29 23:33:43 +00:00
nick
2fe888069c Restore K7 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4498 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-02-03 10:27:26 +00:00
nick
20e408a606 K7 id
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4262 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 18:20:24 +00:00
atmos4
4e3181a168 mangle for win32 in liba52 (includes dummy mangle.h pointing to the one in main)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4248 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-19 05:12:34 +00:00
nick
8594ea6dbc 3dnow optimization. Not all functions are tested!!!
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4234 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-18 09:58:43 +00:00
michael
247ca52f00 more bitstream_skip()
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4055 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 14:55:36 +00:00
michael
f2cd1a822b bitstream_skip() instead of bitstream_get() if possible
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4054 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-08 14:49:17 +00:00
arpi
e7ed9710f6 mono ac3 support
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3968 b3059339-0415-0410-9bf9-f77b7e298cf2
2002-01-03 22:59:21 +00:00
michael
d5ea3b4e44 runtime cpudetect the liba52 way part 2 (downmix.c)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3911 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:53:56 +00:00
arpi
1d213cc5e4 c, mmx versions separated. a52 style runtime stuff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3910 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:44:10 +00:00
michael
8a95255ef2 runtime cpudetect in liba52 way
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3909 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 21:38:53 +00:00
arpi
2addc399ab pass accel flags to a52_resample_init
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3908 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 20:42:49 +00:00
arpi
31d7699946 SSE added
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3906 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 20:26:19 +00:00
michael
7dc503f36b runtime cpudetect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3905 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 19:57:14 +00:00
arpi
5de470e9d0 CRC code ported from libac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3891 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 04:42:42 +00:00
michael
8066b4ad33 ported 3dnow(ex) optimizations from libac3
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3885 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-30 01:47:27 +00:00
michael
5df91323f6 mix22toS & move2to1 in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3742 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:45:25 +00:00
michael
f9c8122cae mix31to2 & mix31toS in SSE
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3741 b3059339-0415-0410-9bf9-f77b7e298cf2
2001-12-25 17:36:54 +00:00