Commit Graph

117 Commits

Author SHA1 Message Date
gpoirier 7c9d04f18b symplify aligned memory allocation on mingw32 by using ffmpeg's av_malloc/av_free
Patch by Emanuele Giaquinta % e P giaquinta A glauco P it %
Original thread:
Subject: [MPlayer-dev-eng] [PATCH] liba52/parse.c: avoid dirty hack on mingw32
Date: 10/25/2006 03:19 AM


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20779 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-08 14:48:36 +00:00
diego b02e7924b9 Move all internal -I parameters to the front of CFLAGS to avoid using external
header files that happen to have the same name as internal ones.
based on a patch by Vladislav Naumov, vladislav.naumov **at** gmail **dot** com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19426 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-17 17:19:56 +00:00
diego fcb6052a6e Update for changes from r19378 (ASMALIGN macro).
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19379 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:44:42 +00:00
diego b89020afc8 Replace asmalign.h hack by ASMALIGN cpp macros from config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19378 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-08-13 00:21:14 +00:00
diego ac142f0d45 cosmetics: Make patch apply cleanly.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19254 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-07-29 23:26:30 +00:00
diego 57f3213401 CVS --> Subversion in copyright notices
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18786 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-22 13:34:00 +00:00
rathann d1b1317f88 sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 3: removed files


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18725 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 23:09:26 +00:00
rathann db9186aa8a sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 2: cosmetic changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18724 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:59:40 +00:00
rathann d686f4e3cf sync with liba52 0.7.4, patch by Emanuele Giaquinta >emanuele.giaquinta ! gmail * com<
part 1: functional changes


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18723 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-15 22:58:06 +00:00
diego 4b64ef7e8e Remove now obsolete .cvsignore files.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18556 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-06-02 11:24:33 +00:00
nplourde a3713ceb29 add support for intel mac. mp3lib is not fixed yet.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18105 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-15 20:46:54 +00:00
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