Commit Graph

87 Commits

Author SHA1 Message Date
Max Horn
66c0a581d2 autogen.sh: replace this by a simple call to autoreconf
The autoreconf tool is provided by autoconf to do what custom
autogen.sh scripts in many projects used to do. Only it is more
robust and widely tested. It has been available for several years,
too. No reason to rely on custom code for this.

Signed-off-by: Max Horn <max@quendi.de>
2012-12-13 08:12:14 +11:00
Miroslav Lichvar
6a1f59b58f Update FSF address. 2012-12-06 06:17:26 +11:00
Cristian Rodríguez
7e62afe9fa Remove local_strtoull, windows has equivalent function _strtoui64 2012-04-18 21:59:11 +10:00
Cristian Rodríguez
9b7cb22f84 Update and improve autotools build
- INCLUDES is deprecated, and CPPFLAGS is an user-defined
  variable, use the proper AM_CPPFLAGS instead

- Remove FLAC__INLINE definition, providing proper
  replacement for MSVC compilers.

- Detect if we have C99 's lround and provide a replacement
  for windows...
2012-04-08 09:03:03 +10:00
Erik de Castro Lopo
6c2040dc90 Remove casting of return value from *alloc() functions. 2012-04-04 21:29:25 +10:00
Erik de Castro Lopo
b48909780b Fix a couple 'inlining failed' warning messages. 2012-02-26 20:00:36 +11:00
Erik de Castro Lopo
d273fceece Fix a couple of sign-compare warnings. 2012-02-26 19:08:41 +11:00
Earl Chew
0554a4aee6 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>
2012-02-26 12:19:56 +11:00
Erik de Castro Lopo
dac99fa20b 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.
2012-02-08 21:07:08 +11:00
Erik de Castro Lopo
59afe36f71 Add file include/share/compat.h and start moving CPP hackery into it. 2012-02-04 16:13:37 +11:00
Erik de Castro Lopo
19050f74ea 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.
2012-02-04 13:01:02 +11:00
Erik de Castro Lopo
d5bb4be5b4 Patch from David Yeo to conditionally include <inttypes.h>. 2012-02-04 11:06:12 +11:00
Erik de Castro Lopo
9c2290ade5 Fix more printf formatting issues and remove un-necessary casts. 2012-02-01 21:46:35 +11:00
Erik de Castro Lopo
ce8a75134c Fix a bunch of printf format warnings. 2012-02-01 20:34:04 +11:00
Felipe Contreras
6c8d740c1a Coverity fixes
Signed-off-by: Felipe Contreras <felipe.contreras@nokia.com>
2011-08-25 23:28:06 -07:00
Josh Coalson
dea0f5a044 add 2009 copyright 2009-01-07 07:31:28 +00:00
Josh Coalson
c9ed238c3d 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) 2009-01-07 07:03:17 +00:00
Josh Coalson
82b128050e update copyright for 2008 2008-02-28 05:34:21 +00:00
Josh Coalson
0f008d2e9e extra checking on memory allocation sizes to prevent a class of overflow attacks 2007-09-11 04:49:56 +00:00
Josh Coalson
29008f4fb5 Fixed bug where importing non-CDDA cuesheets would cause an invalid lead-out track number; also add requirement for non-CDDA lead-out track number to be 255 (SF#1764105: https://sourceforge.net/tracker/index.php?func=detail&aid=1764105&group_id=13478&atid=113478). 2007-07-31 00:47:55 +00:00
Josh Coalson
4d8060421b Some MinGW fixes (SF#1684879: https://sourceforge.net/tracker/index.php?func=detail&aid=1684879&group_id=13478&atid=113478) 2007-07-31 00:39:46 +00:00
Josh Coalson
766539637f improvements to compile/link options 2007-07-16 06:03:32 +00:00
Josh Coalson
4fb6132d13 add vcproj files to EXTRA_DIST 2007-07-11 04:13:09 +00:00
Josh Coalson
cb6dc724f4 *** empty log message *** 2007-02-22 01:57:21 +00:00
Josh Coalson
283e53054a fix minor problem in locale switching 2007-02-13 02:06:04 +00:00
Josh Coalson
158ece8124 allow MIME type in specification to be blank and filled in automatically; allow specification to be just the filename, with other fields filled in automatically 2007-02-06 01:40:37 +00:00
Josh Coalson
1c91ee3bc7 add debugging defines with /D 2007-02-04 19:46:19 +00:00
Josh Coalson
e74bd9516c add 2007 copyright 2007-02-02 06:58:19 +00:00
Josh Coalson
e3ec2ad59e convert C prototypes for functions with no args from () to (void) 2007-01-31 03:53:22 +00:00
Josh Coalson
cd3302e37e fix bug where jpeg marker detection could be broken by non-C locale 2006-11-21 08:27:59 +00:00
Josh Coalson
f37520b91f final merge down from 1.1.2 maintenance branch (cvs up -j FLAC_RELEASE_1_1_2_MAINTENANCE_BASELINE -j FLAC_RELEASE_1_1_2_MAINTENANCE_BRANCH) 2006-11-20 06:46:07 +00:00
Josh Coalson
b0627a4e42 fixes from MSVC compile 2006-11-17 06:05:02 +00:00
Josh Coalson
036e9fd046 fix bug with -S # where the sample number >= total samples, is not getting converted to a placeholder point 2006-11-16 01:21:22 +00:00
Josh Coalson
acd4a4345e fix compiler warnings 2006-11-11 22:43:25 +00:00
Josh Coalson
7afb1553c7 fix grabbag__file_are_same() on win32 by using GetFileInformationByHandle() to compare 2006-11-02 01:39:54 +00:00
Josh Coalson
1568b1f785 in grabbag__file_are_same() check that st_dev is same also 2006-10-13 04:27:06 +00:00
Josh Coalson
724932ed37 minor syntax 2006-10-10 15:06:17 +00:00
Josh Coalson
31251b4cfa for grabbag__file_are_same() on windows use strcmp() on filenames temporarily since inode checking doesn't work 2006-10-10 15:02:31 +00:00
Josh Coalson
1d691ca149 add grabbag__file_are_same() 2006-10-10 00:38:28 +00:00
Josh Coalson
a65fd93119 minor syntax 2006-10-03 01:02:44 +00:00
Josh Coalson
6e94c90e60 add parsing of picture type from spec; add check that type 1 picture is 32x32 PNG 2006-09-24 16:17:53 +00:00
Josh Coalson
37d44c1a8c add picture.c (PICTURE specification parsing) 2006-09-24 07:18:42 +00:00
Josh Coalson
b292e75ebf add support for new REPLAYGAIN_REFERENCE_LOUDNESS tag 2006-09-14 00:40:03 +00:00
Josh Coalson
6b21f66784 merge down from merged-API-layer branch: cvs -q up -dP -j API_LAYER_MERGING_BASELINE -j API_LAYER_MERGING_BRANCH 2006-09-13 01:42:27 +00:00
Josh Coalson
14502c6242 minor typo 2006-08-28 03:33:01 +00:00
Josh Coalson
b1ec796bda complete largefile support 2006-05-24 04:41:36 +00:00
Josh Coalson
0395dac13f add 2206 to copyright notice 2006-04-25 06:59:33 +00:00
Josh Coalson
e9a638d004 add support for building on os/2 with emx 2005-09-03 03:54:16 +00:00
Josh Coalson
95e39a8fa5 allow non-strict mode for reading replaygain tags, to fallback to track tags if album tags are not available and vice versa 2005-09-01 01:01:08 +00:00
Josh Coalson
83b8d28f9d add shorthand option --remove-replay-gain to metaflac 2005-08-31 00:30:41 +00:00