Erik de Castro Lopo
fc360735ce
Fix a regression that severely impacted compression levels.
...
Regression was introducted in commit 8bbbf56403
(Feb 1 19:58:09 2012) when fixing compiler warnings. In src/libFLAC/lpc.c the
line:
ref[i] = (r/=err);
was erroniously removed because the left hand side, ref[i] was never used.
Obviously, the correct thing to do was to replace that line with:
r /= err;
This code has not been officially released. The only people who would have
been affected are people who compiled FLAC from git between February and
now.
The only adverse affect of this error was that compression ratio would have
been severely compromised. No audio is lost, and if anyone has a file that
compressed with a bad version of FLAC can decompress it to WAV and then
re-compress with a fixed version.
2012-10-12 22:02:49 +11:00
Erik de Castro Lopo
155719b470
src/libFLAC/lpc.c : Include <inttypes.h> so compiling debug version works.
2012-05-08 19:23:08 +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
9c2290ade5
Fix more printf formatting issues and remove un-necessary casts.
2012-02-01 21:46:35 +11:00
Erik de Castro Lopo
8bbbf56403
Fix compiler warnings.
2012-02-01 19:58:09 +11: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
ab4bef6a8a
64-bit fixes (SF#1790872: https://sourceforge.net/tracker/index.php?func=detail&aid=1790872&group_id=13478&atid=113478 )
2007-09-08 22:28:09 +00:00
Josh Coalson
d04ddf8b26
add #define FLAC__LPC_UNROLLED_FILTER_LOOPS for easier selection of filter implementation
2007-07-11 04:15:18 +00:00
Josh Coalson
5f11406281
fix bug with negative indexing
2007-06-14 06:21:44 +00:00
Josh Coalson
4a040f6b8a
window the integer_signal instead of real_signal, remove unused real_signal from datapath
2007-04-04 00:59:28 +00:00
Josh Coalson
55e2f0b661
unroll loops in filter and inverse filter routines
2007-03-13 06:33:52 +00:00
Josh Coalson
715e63cb5f
stop using lround() for now
2007-02-09 16:12:20 +00:00
Josh Coalson
9047139ee3
MSVC workarounds
2007-02-04 19:45:44 +00:00
Josh Coalson
ddd0d51137
in FLAC__lpc_quantize_coefficients(), clip shift to max_shiftlimit
2007-02-04 04:18:55 +00:00
Josh Coalson
db3a0e78e3
add workaround for lack of lround() on MSVC
2007-02-04 02:58:22 +00:00
Josh Coalson
67e5d6d41b
minor syntax
2007-02-03 02:53:29 +00:00
Josh Coalson
e74bd9516c
add 2007 copyright
2007-02-02 06:58:19 +00:00
Josh Coalson
0486d4352a
add dithering to lp coeff quantization
2007-02-02 06:14:41 +00:00
Josh Coalson
76ba93a4ee
minor comments
2007-01-28 17:37:55 +00:00
Josh Coalson
32b9baedb4
quick fix for SF#1601812 where an error of exactly 0 (very rare) in FLAC__lpc_compute_lp_coefficients() could cause an infinite loop later in FLAC__lpc_quantize_coefficients()
2006-11-27 16:27:41 +00:00
Josh Coalson
7581d121c1
patch: support for borland c++ compile (SF#1599018: http://sourceforge.net/tracker/index.php?func=detail&aid=1599018&group_id=13478&atid=313478 )
2006-11-20 07:19:15 +00:00
Josh Coalson
ab56ef11b8
fixes from 64-bit compile
2006-11-17 06:52:19 +00:00
Josh Coalson
b1ec796bda
complete largefile support
2006-05-24 04:41:36 +00:00
Josh Coalson
6e2b5659c1
fix a calcuation bug in FLAC__lpc_compute_best_order()
2006-04-28 00:11:31 +00:00
Josh Coalson
0395dac13f
add 2206 to copyright notice
2006-04-25 06:59:33 +00:00
Josh Coalson
bf0f52c21e
add support for specifying which apodization functions to use to window data before lpc analysis
2006-04-25 06:38:43 +00:00
Josh Coalson
7446e18663
fix ANSI C violation w.r.t. const arrays
2005-01-26 04:04:38 +00:00
Josh Coalson
a78fac662c
add 2005 to copyright notices
2005-01-25 04:17:55 +00:00
Josh Coalson
5f2b46d031
finished integerized flavor of library; sections with floating point are either #ifdef'd out or written in fixed-point
2004-11-09 01:34:01 +00:00
Josh Coalson
0975843bed
first pass at making an integer-only flavor of the libraries. move FLAC__real out of ordinals.h to src/libFLAC/include/private/float.h, add FLAC__double and FLAC__float and use these everywhere instead of double and float, and don't typedef FLAC__real/float/double when building in integer-only mode. still need to provide integer substitutes in several places.
2004-10-20 00:21:50 +00:00
Josh Coalson
fec4a779a0
fix bug: %ll doesn't work for MSVC, use %I64 instead
2004-03-22 05:47:25 +00:00
Josh Coalson
9564390fb9
update copyright to 2004
2004-01-17 04:14:43 +00:00
Josh Coalson
afd8107872
change license verbiage to Xiph's
2003-01-31 23:34:56 +00:00
Josh Coalson
b3538c813d
minor comments
2003-01-12 08:42:23 +00:00
Josh Coalson
0c671c842e
working 64-bit literals for MSVC
2003-01-08 08:04:42 +00:00
Josh Coalson
afae69f0e3
Add 2003 to copyright notice
2003-01-02 07:03:16 +00:00
Josh Coalson
eac1024aea
add wide (64-bit) versions of the FIR filter and inverse filter, remove unused arg from quantizing routine
2002-10-04 05:25:54 +00:00
Josh Coalson
765ff502c7
minor formatting
2002-08-27 05:46:11 +00:00
Josh Coalson
ddc5bc7676
minor consolidation
2002-06-05 05:53:17 +00:00
Josh Coalson
03ed88bd32
conditionalize #include of stdio.h
2002-05-17 06:19:28 +00:00
Josh Coalson
305ae2e4a7
update copyright date to include 2002
2002-01-26 17:36:39 +00:00
Josh Coalson
40333b13c1
commit patch for compiling on mingw32
2001-11-13 21:37:04 +00:00
Josh Coalson
f52360aba5
replace LOCAL_FABS() with fabs()
2001-08-13 23:10:06 +00:00
Josh Coalson
8c6f90f1aa
switch to better method for getting floor(log2(double))
2001-07-19 17:07:13 +00:00
Josh Coalson
d3ed49fb92
fix another possible bug in the quantizer
2001-07-18 23:47:19 +00:00
Josh Coalson
3dbbf940c3
#ifdef DEBUG some printouts
2001-07-12 21:27:40 +00:00
Josh Coalson
d37acf41a8
minor tweaks in the overflow checking for VC++
2001-07-09 18:22:46 +00:00
Josh Coalson
4e6b3ac2ac
fix the case in the coeff quantizer where the coeffs were not quantized when the shift is zero
2001-07-06 00:37:57 +00:00