Commit Graph

66 Commits

Author SHA1 Message Date
diego 426235c2f9 libfaad2: cosmetics: Make local_changes.diff apply cleanly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32384 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:08 +02:00
diego 65e3208b1a libfaad2: make a function static
Mark output_to_PCM_sux as static, it is not used outside of the file; fixes:
libfaad2/output.c:465: warning: no previous prototype for 'output_to_PCM_sux'

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32343 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:07 +02:00
diego 1cf83abdad libfaad2: change lrintf availability logic
Remove local HAVE_LRINTF hack; it should no longer be necessary.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32335 b3059339-0415-0410-9bf9-f77b7e298cf2

Do not compile libfaad2's lrintf() implementation if __STDC_VERSION__ is set.
This should be enough to ensure that a system lrintf implementation exists.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32342 b3059339-0415-0410-9bf9-f77b7e298cf2

Check for __STDC_VERSION__ >= 199901L before declaring lrintf().
This is the correct condition according to the standard.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32385 b3059339-0415-0410-9bf9-f77b7e298cf2

Fix condition for compiling lrintf, fixes compilation on cygwin/MinGW.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32391 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:07 +02:00
diego 6a5b528749 libfaad2: Restore trailing whitespace in local diff file
Without it, emacs has trouble in diff mode.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@32334 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:18:07 +02:00
cehoyos f455b6e91b ad_faad: Improve LATM recognition
Patch by Dan Oscarsson,  Dan d Oscarsson a tieto d com

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31543 b3059339-0415-0410-9bf9-f77b7e298cf2
2010-11-02 04:11:42 +02:00
diego e5751ced4f Replace WORDS_BIGENDIAN by HAVE_BIGENDIAN in all internal code.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29443 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:53:00 +00:00
diego c242fdbfd9 Make diff apply cleanly to our tree again.
The GPL modification notices were dropped, same as for the other diffs we store.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29442 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-07-26 19:38:22 +00:00
bircoph 6e695dc64f Remove all kind of trailing whitespaces from all MPlayer's files.
This affects all kind of spaces (' ',^I,^M,^L,...): actually
[:space:] regex character set.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29306 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-05-13 15:22:13 +00:00
reimar d1acb18902 Fix a possible NULL-pointer crash introduced by local changes to libfaad2
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28757 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-28 10:06:52 +00:00
diego e3847132b5 Use fixed-point implementation on avr32.
patch by Hans-Christian Egtvedt, hans-christian.egtvedt atmel com


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28613 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-02-16 17:05:58 +00:00
diego 92e4d64a61 HAVE_LRINTF is now always defined to either 0 or 1, not defined/undefined.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28371 b3059339-0415-0410-9bf9-f77b7e298cf2
2009-01-26 09:40:04 +00:00
diego 49aea49605 Merge libfaad2/Makefile into top-level Makefile.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26526 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 23:11:16 +00:00
diego a2d82df9cc Move libfaad2 fixed-point CFLAGS setting to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@26517 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-04-24 16:41:44 +00:00
diego f0d20ffa71 Fix compilation failure because bitfile was undefined:
In file included from decoder.c:36:
mp4.h:46: error: expected ')' before '*' token


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25896 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-28 01:31:39 +00:00
nicodvb a8e8627367 added code to check and handle the presence of LATM streams in the init() and decode() functions
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25864 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:45:11 +00:00
nicodvb 54cc9247e0 added AudioSpecificConfigFromBitfile() -that reads from an initizialized
bitstream- and reimplemented AudioSpecificConfig() in terms of the former.
Also, introduced a short_form parameter that indicates if the core
function must pretend not to know the size of the header (another craziness
in AAC)


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25863 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:42:17 +00:00
nicodvb 46cfd2988b generic functions and structures to parse and statekeep LATM streams
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25862 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:31:48 +00:00
nicodvb 715cd43c17 in GASpecificConfig 1 bit (extensionflag3) wasn't being read and the comment was misplaced, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25861 b3059339-0415-0410-9bf9-f77b7e298cf2
2008-01-26 18:21:44 +00:00
diego bc6d58fc1d Remove superfluous README file, its content is in the Copyright file.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25561 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-12-31 16:06:14 +00:00
diego 6f0da163dd Move some more compiler flags to configure.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24043 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-09 11:35:41 +00:00
diego 139d5f7fca Move some #defines into configure/config.h.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24031 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-08 09:12:33 +00:00
diego 716fc494f3 HAVE_INTTYPES_H is in config.h, HAVE_STDINT_H is never reached.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24021 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-08-07 08:57:20 +00:00
diego d8e83253bd Simplify CFLAGS handling.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22553 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 22:17:48 +00:00
diego 5519d98983 cosmetics: Fix indentation, reorder some lines for consistency.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22549 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 21:55:23 +00:00
diego 60b39e2786 Give more descriptive names to the source and library variables and split
between common, MPlayer-specific and MEncoder-specific parts.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22546 b3059339-0415-0410-9bf9-f77b7e298cf2
2007-03-13 12:10:57 +00:00
diego dc2be42703 Merge common parts of all Makefiles into one file included by all.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21275 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-26 18:12:36 +00:00
diego 27b0177662 Remove superfluous comment.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21222 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-25 16:12:36 +00:00
diego cf4bf03dc2 Unify dep/depend targets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@21096 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-11-20 11:18:01 +00:00
diego 4bbdac6e14 Add configure switch to enable fixed-pointed mode of internal libfaad2.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@20287 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-10-17 16:01:25 +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
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
rtognimp 82361d50d0 Update to faad2 cvs 20040915+MPlayer fixes
Patch by me and Emanuele Giaquinta


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@18142 b3059339-0415-0410-9bf9-f77b7e298cf2
2006-04-18 19:39:34 +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
diego 68325cd906 Unify paths in patch and fix recent breakage, no -ko keyword expansion
flag was set on this file.


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17182 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-11 23:55:12 +00:00
rathann 9fd71a03a6 add fix for sbr_dec.c to local diff, too
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17138 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 23:13:24 +00:00
rathann 2664b81b63 add my fix to ps_dec.c to our diff
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17137 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-07 23:07:40 +00:00
rathann 855416cba2 fix
ps_dec.c:1938: warning: missing braces around initializer
ps_dec.c:1938: warning: (near initialization for 'X_hybrid_left[0][0]')
ps_dec.c:1939: warning: missing braces around initializer
ps_dec.c:1939: warning: (near initialization for 'X_hybrid_right[0][0]')
sbr_dec.c:530: warning: missing braces around initializer
sbr_dec.c:530: warning: (near initialization for 'X_left[0][0]')
sbr_dec.c:531: warning: missing braces around initializer
sbr_dec.c:531: warning: (near initialization for 'X_right[0][0]')


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@17099 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-12-05 01:31:53 +00:00
diego 937a5d6993 Update for latest changes.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16250 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-17 22:50:29 +00:00
alex 1b92bb8b91 prefer FIXED_POINT for ARM - patch by AGAWA Koji <i at atty.sakura.ne.jp>
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16231 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-08-16 15:29:24 +00:00
reimar 5d6da4e669 make more patch-friendly
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15928 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-07-06 08:42:55 +00:00
henry c9e396b898 - correct the argument in configure check for lrintf() to avoid a warning
- add -D_GNU_SOURCE where lrintf() is used, for the cases when -std=gnu99
  isn't available


git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15597 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:57:30 +00:00
henry 5df178e473 avoid lrintf redeclaration
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15594 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-05-30 08:18:03 +00:00
rfelker c0adf2ff07 10l, integer overflow. who uses 14 fractional bits?! only faad developers.... *sigh*
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15055 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-05 05:43:41 +00:00
rfelker ef714f38ca 100l, messed up coefficients when improving precision..
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15054 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-04-04 23:31:33 +00:00
rfelker 1572acb6a4 mplayer changes notice (take 2, 10l to diego :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15024 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-31 00:46:53 +00:00
rfelker df40cefb1f usable downmixing for fixed point mode (take 2, previous patch reversed immediately on account of 1000l error :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@15021 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-29 18:14:24 +00:00
diego 2fd5f90a32 cosmetics: Make diff -R apply without offsets.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14859 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-03-01 05:49:56 +00:00
wight b2c7e53f9f correct filename
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14734 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 09:32:09 +00:00
diego f091555b08 Point to local_changes.diff.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14732 b3059339-0415-0410-9bf9-f77b7e298cf2
2005-02-19 02:19:21 +00:00