Erik de Castro Lopo [Wed, 4 Apr 2012 11:29:25 +0000 (21:29 +1000)]
Remove casting of return value from *alloc() functions.
Erik de Castro Lopo [Wed, 4 Apr 2012 10:08:52 +0000 (20:08 +1000)]
configure.ac : Add AM_PROG_CC_C_O.
Erik de Castro Lopo [Fri, 30 Mar 2012 11:25:39 +0000 (22:25 +1100)]
Remove unnecessary typedef.
Erik de Castro Lopo [Fri, 30 Mar 2012 10:55:08 +0000 (21:55 +1100)]
Add GCC specific optimisation for log base 2 operations.
Based on a patch from Cristian RodrÃguez.
Erik de Castro Lopo [Fri, 30 Mar 2012 10:35:41 +0000 (21:35 +1100)]
Remove winamp2 plugin
Patch from Cristian RodrÃguez
Nullsoft has provided a native FLAC support since Winamp 5.31 (since
the year 2006).
Erik de Castro Lopo [Sun, 18 Mar 2012 20:44:11 +0000 (07:44 +1100)]
Add patch from Earl Chew <earl_chew@yahoo.com> that adds testing for
the replay gain calculations.
Erik de Castro Lopo [Mon, 5 Mar 2012 10:12:20 +0000 (21:12 +1100)]
Rename ENDSWAP_INT to ENDSWAP_32.
Dave Yeo [Sun, 26 Feb 2012 20:18:06 +0000 (12:18 -0800)]
Include stdlib.h for _response() and _wildcard() declarations on OS/2
Dave Yeo [Sun, 26 Feb 2012 20:14:15 +0000 (12:14 -0800)]
a.out format does not support many .section directives
Erik de Castro Lopo [Sun, 26 Feb 2012 11:41:44 +0000 (22:41 +1100)]
configure.ac : Report useful info at the end of configure.
Erik de Castro Lopo [Sun, 26 Feb 2012 09:00:36 +0000 (20:00 +1100)]
Fix a couple 'inlining failed' warning messages.
Erik de Castro Lopo [Sun, 26 Feb 2012 08:08:41 +0000 (19:08 +1100)]
Fix a couple of sign-compare warnings.
Earl Chew [Sat, 18 Feb 2012 18:04:51 +0000 (10:04 -0800)]
Port David Robinson's equalloudfilt.m MATLAB script to scilab so that the ReplayGain filter settings can be generated using an OpenSource tool.
Signed-off-by: Earl Chew <earl_chew@yahoo.com>
Earl Chew [Thu, 23 Feb 2012 00:57:54 +0000 (16:57 -0800)]
Support 56kHz to 19.2kHz gain analysis (Patch v4)
This implementation uses decimation to generate an estimate of the
required ReplayGain adjustment for tracks sampled at high rates.
This approach avoids having to generate filters with commensurately more taps,
and also the subsequent effect on performance as these additional
taps are evaluated for high sample rate tracks.
Filter table entries with coefficients that are unchanged are
marked /* ORIGINAL */.
The remaining entries are new and have coefficient values obtained
from src/utils/loudness/loudness.sci. See:
http://lists.xiph.org/pipermail/flac-dev/2012-February/003220.html
Because these filter coefficients can be generated from a known source,
they are preferred to the FooBar2000 coefficients whose provenance is
unknown.
Signed-off-by: Earl Chew <earl_chew@yahoo.com>
Erik de Castro Lopo [Sun, 26 Feb 2012 01:19:39 +0000 (12:19 +1100)]
Speed up the tests by testing slightly fewer combinations.
Erik de Castro Lopo [Fri, 24 Feb 2012 23:25:54 +0000 (10:25 +1100)]
.gitignore : Ignore more m4 files.
Erik de Castro Lopo [Fri, 17 Feb 2012 07:00:10 +0000 (18:00 +1100)]
Remove '#if 0'-ed out code.
Erik de Castro Lopo [Fri, 17 Feb 2012 06:52:12 +0000 (17:52 +1100)]
Fix a bunch of -Wtype-limits warnings.
Erik de Castro Lopo [Mon, 13 Feb 2012 08:58:08 +0000 (19:58 +1100)]
Fix -Werror=format-security errors.
Fixes "format not a string literal and no format arguments
[-Werror=format-security]" errors.
Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
Closes Debian bug #643377.
Erik de Castro Lopo [Mon, 13 Feb 2012 08:55:46 +0000 (19:55 +1100)]
Fix for autoreconf failures.
Fixes "undefined macro: AM_PATH_XMMS" and similar errors which cause
autoreconf to fail.
From Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
Erik de Castro Lopo [Mon, 13 Feb 2012 08:46:32 +0000 (19:46 +1100)]
Disable Altivec on host triplet powerpc-unknown-linux-gnuspe.
SPE is incompatible with AltiVec because it shares the same opcode range.
Patch from Sebastian Andrzej Siewior <bigeasy@linutronix.de> via Debian.
Erik de Castro Lopo [Mon, 13 Feb 2012 08:39:55 +0000 (19:39 +1100)]
libFLAC.m4 : Prevent empty -L flag.
Fix libFLAC.m4 may set empty -L flag when configure is called without
arguments, provided of course that the target package's configure script
is properly re-generated against the fixed libFLAC.m4
Patch from Fabian Greffrath <fabian+debian@greffrath.com> via Debian.
Erik de Castro Lopo [Sun, 12 Feb 2012 19:22:30 +0000 (06:22 +1100)]
Merge branch 'noname'
Erik de Castro Lopo [Sun, 12 Feb 2012 09:49:17 +0000 (20:49 +1100)]
Disable executable stack in libFLAC.so.
This allows programs using it to run correctly on SE Linux systems, and
with exec-shield.
Patch from Russell Coker <russell@coker.com.au> via Debian.
Erik de Castro Lopo [Sun, 12 Feb 2012 09:45:53 +0000 (20:45 +1100)]
Add missing <cstring> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
Erik de Castro Lopo [Sun, 12 Feb 2012 09:45:53 +0000 (20:45 +1100)]
Add missing <csting> include.
Patch from Cyril Brulebois <cyril.brulebois@enst-bretagne.fr> via
Debian. Closes Debian bug #455304.
Erik de Castro Lopo [Sun, 12 Feb 2012 09:39:09 +0000 (20:39 +1100)]
metaflac : Exit with error if invalid option is passed.
Fix from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #329979.
Erik de Castro Lopo [Sun, 12 Feb 2012 09:37:16 +0000 (20:37 +1100)]
Fix misuse of \r (potentially) in flac -d or -t output.
Patch from Joshua Kwan <joshk@triplehelix.org> via Debian.
Closes Debian bug #138828.
Erik de Castro Lopo [Fri, 10 Feb 2012 08:19:11 +0000 (19:19 +1100)]
include/FLAC/ordinals.h : Remove CPP hackery.
This change assumes that a C99 <stdint.h> header is available. For
compilers where that is not the case, the user should provide a
minimal replacement header.
Erik de Castro Lopo [Wed, 8 Feb 2012 10:07:08 +0000 (21:07 +1100)]
Patch from Dave Yeo to remove more CPP hackery.
Dave's comments:
This commit will break OS/2's EMX 0.9d library (GCC 2.8.1) which has been
been replaced by klibc. Considering the age of EMX and lack of testing
and that klibc contains so many improvements I think this is exceptable.
Erik de Castro Lopo [Tue, 7 Feb 2012 07:41:28 +0000 (18:41 +1100)]
Fix 'make distcheck'.
This disables the tests that don't run correctly out-of-tree from
the 'make check' target. Also add a new 'make fullcheck' target
which is the full old test suite.
Erik de Castro Lopo [Sun, 5 Feb 2012 20:15:48 +0000 (07:15 +1100)]
Add XIPH_BSWAP32 configure macro to detect __builtin_bswap32() intrinsic.
Erik de Castro Lopo [Sun, 5 Feb 2012 07:58:11 +0000 (18:58 +1100)]
Add m4/endian.m4 and use it in configure.ac.
Erik de Castro Lopo [Sat, 4 Feb 2012 06:34:43 +0000 (17:34 +1100)]
Encoder::Stream::set_metadata() broken - ID: 3282704
http://sourceforge.net/tracker/?func=detail&aid=3282704&group_id=13478&atid=313478
Erik de Castro Lopo [Sat, 4 Feb 2012 06:30:57 +0000 (17:30 +1100)]
Memory and fd leak fixes - ID: 3436668
http://sourceforge.net/tracker/?func=detail&aid=3436668&group_id=13478&atid=313478
Erik de Castro Lopo [Sun, 5 Feb 2012 05:29:43 +0000 (16:29 +1100)]
configure.ac : Patch from David Yeo. OS/2 uses aout format.
Erik de Castro Lopo [Sun, 5 Feb 2012 05:28:40 +0000 (16:28 +1100)]
configure.ac : Patch from David Yeo adding LT_NO_UNDEFINED for OS/2.
Erik de Castro Lopo [Sun, 5 Feb 2012 05:25:22 +0000 (16:25 +1100)]
Purge MINGW_WINSOCK_LIBS config variable.
This was only needed for ntohl() function which has already been removed.
Erik de Castro Lopo [Sun, 5 Feb 2012 02:45:35 +0000 (13:45 +1100)]
Remove configure maintainer mode.
It doesn't play nicely with git and multiple branches.
Erik de Castro Lopo [Sat, 4 Feb 2012 11:06:23 +0000 (22:06 +1100)]
Improve endswapping (especially purge ntohl).
Erik de Castro Lopo [Sat, 4 Feb 2012 10:08:46 +0000 (21:08 +1100)]
configure.ac : Detect more headers.
Erik de Castro Lopo [Sat, 4 Feb 2012 22:21:29 +0000 (09:21 +1100)]
include/share/Makefile.am : Add compat.h to EXTRA_DIST.
Erik de Castro Lopo [Sat, 4 Feb 2012 09:47:10 +0000 (20:47 +1100)]
Patch from JonY to remove more CPP hackery.
Erik de Castro Lopo [Sat, 4 Feb 2012 05:13:37 +0000 (16:13 +1100)]
Add file include/share/compat.h and start moving CPP hackery into it.
Erik de Castro Lopo [Sat, 4 Feb 2012 05:12:05 +0000 (16:12 +1100)]
Makefile.am : Add CLEANFILES entry.
Erik de Castro Lopo [Sat, 4 Feb 2012 04:31:28 +0000 (15:31 +1100)]
Patch from JonY to suppress redefinition warnings with mingw-w64 lfs64 warnings.
Erik de Castro Lopo [Sat, 4 Feb 2012 03:13:45 +0000 (14:13 +1100)]
Renable metaflac tests disabled earlier because they were failing.
Erik de Castro Lopo [Sat, 4 Feb 2012 03:08:12 +0000 (14:08 +1100)]
Fix cuesheet bug introduced in
ce8a75134cace056f6c436d54b57bad1a1d93797.
This bug was causing the test_metaflac.sh test to fail after Earl Chew's
patch
19050f74eaa1aa6d609ca065e1a854ada5bb6b4c was supposed to fix an
older bug.
Erik de Castro Lopo [Sat, 4 Feb 2012 02:01:02 +0000 (13:01 +1100)]
Cuesheet patch from Earl Chew.
When reading the INDEX from the cue sheet, the format MM:SS:FF format
is disallowed if the sample frequency is not a multiple of 75 because
the index would only be approximate. However, 00:00:00 is _exact_
because it denotes the start of the track, so allow it as a special
case.
Erik de Castro Lopo [Sat, 4 Feb 2012 00:06:12 +0000 (11:06 +1100)]
Patch from David Yeo to conditionally include <inttypes.h>.
Erik de Castro Lopo [Thu, 2 Feb 2012 19:23:09 +0000 (06:23 +1100)]
XMMS patch from Timothy B. Terriberry
Erik de Castro Lopo [Thu, 2 Feb 2012 19:21:57 +0000 (06:21 +1100)]
Fix 'make distcheck'.
Erik de Castro Lopo [Thu, 2 Feb 2012 18:52:01 +0000 (05:52 +1100)]
configure.ac : Only use AM_SILENT_RULES if its available. Thanks Earl Chew.
Erik de Castro Lopo [Thu, 2 Feb 2012 06:45:09 +0000 (17:45 +1100)]
Merge git://github.com/avuton/flac
Ralph Giles [Wed, 1 Feb 2012 19:27:16 +0000 (11:27 -0800)]
Add test_wrapper.sh to the distribution.
Needed for 'make check'.
Ralph Giles [Wed, 1 Feb 2012 19:16:10 +0000 (11:16 -0800)]
Use the correct project filenames for flactimer.
'make dist' was failing because src/utils/flactime/Makefile.am listed
'flactime' instead of 'flactimer' as the base name of the MSVC project
files. Since the files uses the 'flactimer' name internally, I updated
the Makefile rather than the filenames.
Avuton Olrich [Thu, 2 Feb 2012 03:46:27 +0000 (19:46 -0800)]
Fix --disable-doxygen-docs install
Erik de Castro Lopo [Wed, 1 Feb 2012 11:01:05 +0000 (22:01 +1100)]
Fix memory leak when reinitializing stream encoder.
http://sourceforge.net/tracker/?func=detail&aid=3390048&group_id=13478&atid=313478
Erik de Castro Lopo [Wed, 1 Feb 2012 11:00:08 +0000 (22:00 +1100)]
Add 'make fastcheck' target.
Erik de Castro Lopo [Wed, 1 Feb 2012 10:46:35 +0000 (21:46 +1100)]
Fix more printf formatting issues and remove un-necessary casts.
Erik de Castro Lopo [Wed, 1 Feb 2012 09:34:04 +0000 (20:34 +1100)]
Fix a bunch of printf format warnings.
Erik de Castro Lopo [Wed, 1 Feb 2012 08:58:09 +0000 (19:58 +1100)]
Fix compiler warnings.
Erik de Castro Lopo [Wed, 1 Feb 2012 08:49:54 +0000 (19:49 +1100)]
Fix a couple of -Winline warnings.
Erik de Castro Lopo [Wed, 1 Feb 2012 08:41:16 +0000 (19:41 +1100)]
Remove old configure.in.
Erik de Castro Lopo [Wed, 1 Feb 2012 06:55:50 +0000 (17:55 +1100)]
Rename configure.in -> configure.ac.
Erik de Castro Lopo [Wed, 1 Feb 2012 06:55:15 +0000 (17:55 +1100)]
configure.in : Add AM_SILENT_RULES. Check for <inttypes.h>. Add --enable-gcc-werror option.
Erik de Castro Lopo [Tue, 31 Jan 2012 10:06:21 +0000 (21:06 +1100)]
Run all tests from one script which bails on the first failure.
Erik de Castro Lopo [Tue, 31 Jan 2012 10:04:51 +0000 (21:04 +1100)]
test/test_metaflac.sh : Disable failing tests.
Erik de Castro Lopo [Tue, 31 Jan 2012 09:13:54 +0000 (20:13 +1100)]
test/test_metaflac.sh : Bypass currently broken tests.
Erik de Castro Lopo [Tue, 31 Jan 2012 08:28:14 +0000 (19:28 +1100)]
Update README and .gitignore.
Erik de Castro Lopo [Tue, 31 Jan 2012 07:47:14 +0000 (18:47 +1100)]
Add .gitignore.
Erik de Castro Lopo [Tue, 31 Jan 2012 06:58:07 +0000 (17:58 +1100)]
autogen.sh : Silence complaint about missing config.rpath.
David Schleef [Fri, 26 Aug 2011 01:40:29 +0000 (18:40 -0700)]
Fix md5 structure clearing in previous commit
Felipe Contreras [Thu, 28 Apr 2011 17:43:21 +0000 (20:43 +0300)]
Coverity fixes
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
Josh Coalson [Mon, 5 Oct 2009 18:45:10 +0000 (18:45 +0000)]
license must be BSD since it is used by libFLAC
Josh Coalson [Wed, 7 Jan 2009 07:31:28 +0000 (07:31 +0000)]
add 2009 copyright
Josh Coalson [Wed, 7 Jan 2009 07:03:17 +0000 (07:03 +0000)]
Allow MM:SS:FF and MM:SS.SS time formats in non-CD-DA cuesheets (SF#1947353, SF#2182432: https://sourceforge.net/tracker2/?func=detail&aid=1947353&group_id=13478&atid=363478 https://sourceforge.net/tracker2/index.php?func=detail&aid=2182432&group_id=13478&atid=113478)
Josh Coalson [Wed, 7 Jan 2009 06:58:53 +0000 (06:58 +0000)]
convert SF tracker links to new tracker2 system
Josh Coalson [Wed, 7 Jan 2009 06:58:04 +0000 (06:58 +0000)]
Fixes for autotools (SF#1859664: https://sourceforge.net/tracker2/?func=detail&aid=1859664&group_id=13478&atid=313478)
Josh Coalson [Wed, 7 Jan 2009 06:55:51 +0000 (06:55 +0000)]
Improved error message when user attempts to decode a non-FLAC file (SF#2222789: https://sourceforge.net/tracker2/?func=detail&aid=2222789&group_id=13478&atid=113478
Josh Coalson [Wed, 7 Jan 2009 06:54:05 +0000 (06:54 +0000)]
Improve decoder's ability to distinguish between a FLAC sync code and an MPEG one (SF #2491433 https://sourceforge.net/tracker2/?func=detail&aid=2491433&group_id=13478&atid=113478
Josh Coalson [Tue, 6 Jan 2009 17:14:31 +0000 (17:14 +0000)]
Fix bug in bitreader handling of read callback returning a short count (SF#2490454: https://sourceforge.net/tracker2/?func=detail&aid=2490454&group_id=13478&atid=113478)
Josh Coalson [Sat, 3 Jan 2009 02:13:17 +0000 (02:13 +0000)]
Fixes for Sun Studio/Forte; us AC_C_INLINE to detect inline keyword for compiler; eliminate floating point calcs in RG analysis array size calculations (SF#1701960: https://sourceforge.net/tracker2/?func=detail&aid=1701960&group_id=13478&atid=313478)
Josh Coalson [Sat, 3 Jan 2009 02:10:18 +0000 (02:10 +0000)]
remove some inlining directives
Josh Coalson [Sat, 3 Jan 2009 01:59:10 +0000 (01:59 +0000)]
mingw fixes, enable build dll w/ mingw (SF#2000973: https://sourceforge.net/tracker2/?func=detail&aid=2000973&group_id=13478&atid=313478)
Josh Coalson [Sat, 3 Jan 2009 01:55:17 +0000 (01:55 +0000)]
mingw fixes (SF#2209829: https://sourceforge.net/tracker2/?func=detail&aid=2209829&group_id=13478&atid=313478)
Josh Coalson [Sat, 3 Jan 2009 01:50:46 +0000 (01:50 +0000)]
fix bug with fractional seconds on some locales (SF#1815517: https://sourceforge.net/tracker2/?func=detail&aid=1815517&group_id=13478&atid=113478)
Josh Coalson [Sat, 3 Jan 2009 01:49:01 +0000 (01:49 +0000)]
fix bug with fractional seconds on some locales (SF#1858012: https://sourceforge.net/tracker2/?func=detail&aid=1858012&group_id=13478&atid=113478)
Josh Coalson [Sat, 3 Jan 2009 01:46:02 +0000 (01:46 +0000)]
typo
Josh Coalson [Sat, 3 Jan 2009 01:43:59 +0000 (01:43 +0000)]
add flacdiff and flactimer utils to source distribution (SF#1911149: https://sourceforge.net/tracker2/?func=detail&aid=1911149&group_id=13478&atid=113478)
Josh Coalson [Sat, 3 Jan 2009 01:35:56 +0000 (01:35 +0000)]
proper handling of variable length arrays (SF#2002481 https://sourceforge.net/tracker2/?func=detail&aid=2002481&group_id=13478&atid=113478)
Josh Coalson [Fri, 2 Jan 2009 01:28:30 +0000 (01:28 +0000)]
fixes for windows builds (SF#1756624: https://sourceforge.net/tracker2/?func=detail&aid=1756624&group_id=13478&atid=113478)
Josh Coalson [Fri, 2 Jan 2009 01:23:59 +0000 (01:23 +0000)]
Fix bug where flac was disallowing use of --replay-gain when encoding from stdin (SF#1840124: https://sourceforge.net/tracker2/?func=detail&aid=1840124&group_id=13478&atid=113478)
Josh Coalson [Fri, 2 Jan 2009 01:18:56 +0000 (01:18 +0000)]
fix libFLAC encoder to default to compression level 5 (SF#1816825: https://sourceforge.net/tracker2/?func=detail&aid=1816825&group_id=13478&atid=113478)
Josh Coalson [Fri, 2 Jan 2009 01:15:36 +0000 (01:15 +0000)]
fixes for windows builds (SF#1809863: https://sourceforge.net/tracker2/?func=detail&aid=1809863&group_id=13478&atid=113478)
Josh Coalson [Fri, 2 Jan 2009 01:12:59 +0000 (01:12 +0000)]
fixes for windows builds (SF#1676822: https://sourceforge.net/tracker2/?func=detail&aid=1676822&group_id=13478&atid=113478)
Josh Coalson [Tue, 30 Dec 2008 02:10:16 +0000 (02:10 +0000)]
disable plugin_xmms on x84_64
Josh Coalson [Sat, 29 Nov 2008 21:01:20 +0000 (21:01 +0000)]
better check for stdint.h
Josh Coalson [Sat, 29 Nov 2008 20:56:09 +0000 (20:56 +0000)]
remove /FLAC++ suffix on include path
Josh Coalson [Sat, 29 Nov 2008 20:55:52 +0000 (20:55 +0000)]
remove /FLAC suffix on include path