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
Cristian Rodríguez
f029625591
V2: Use a single definition of MIN and MAX in sources
2012-04-06 09:52:06 +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
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
6c7568b712
Patch from JonY to suppress redefinition warnings with mingw-w64 lfs64 warnings.
2012-02-04 15:31:28 +11:00
Erik de Castro Lopo
3b41451197
Fix memory leak when reinitializing stream encoder.
...
http://sourceforge.net/tracker/?func=detail&aid=3390048&group_id=13478&atid=313478
2012-02-01 22:01:05 +11:00
Josh Coalson
dea0f5a044
add 2009 copyright
2009-01-07 07:31:28 +00:00
Josh Coalson
a832ef32fb
fixes for windows builds (SF#1676822: https://sourceforge.net/tracker2/?func=detail&aid=1676822&group_id=13478&atid=113478 )
2009-01-02 01:12:59 +00:00
Josh Coalson
d8a6f4aaf7
fix problem with encoder being too strict about subset blocksizes
2008-05-27 05:20:15 +00:00
Josh Coalson
82b128050e
update copyright for 2008
2008-02-28 05:34:21 +00:00
Josh Coalson
504dcafeb4
minor comments
2007-09-13 15:42:47 +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
05f710f4e0
add support for RESIDUAL_CODING_METHOD_PARTITIONED_RICE2 and blocking strategy bit
2007-07-31 00:51:26 +00:00
Josh Coalson
f395ec43cf
fix for FLAC__INTEGER_ONLY_LIBRARY
2007-06-20 01:23:02 +00:00
Josh Coalson
e70895b984
minor comments
2007-06-19 23:59:16 +00:00
Josh Coalson
00da5ae8ec
add internal FLAC__stream_encoder_set/get_do_md5()
2007-06-14 05:19:46 +00:00
Josh Coalson
0429d6089a
call precompute_partition_info_sums_32bit_asm_ia32_() on x86 if available
2007-04-04 01:08:24 +00:00
Josh Coalson
a0206629d3
MSVC optimization in process calls
2007-04-04 01:07:40 +00:00
Josh Coalson
dca2d1a1d5
remove more redundant logic in process calls
2007-04-04 01:06:08 +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
0a0a10f358
minor optimizations to precompute_partition_info_sums_()
2007-03-31 01:01:02 +00:00
Josh Coalson
2258fa8ec9
add FLAC__format_sample_rate_is_subset()
2007-03-30 01:02:40 +00:00
Josh Coalson
099a2893da
minor tweaks to private md5 interface
2007-03-14 07:58:19 +00:00
Josh Coalson
14b184cced
unify inlining method in prep for inline tests
2007-03-12 05:08:21 +00:00
Josh Coalson
5981e4f72d
minor comments
2007-03-06 06:51:57 +00:00
Josh Coalson
38483802ab
remove FLAC__SSE_OS restriction on SSE usage
2007-03-03 01:47:53 +00:00
Josh Coalson
0edc149c6b
minor tweak for vc++
2007-03-01 16:23:11 +00:00
Josh Coalson
8534bbe4e9
minor comments
2007-02-28 01:10:21 +00:00
Josh Coalson
6910519114
turn off FLAC__MANDATORY_VERIFY_WHILE_ENCODING
2007-02-14 05:59:27 +00:00
Josh Coalson
dc2b03b241
change default blocksize from 4608 to 4096 for LPC mode
2007-02-06 05:02:46 +00:00
Josh Coalson
d83553dd2b
change the min/max rice partition order for compression levels -0 .. -6
2007-02-06 04:48:26 +00:00
Josh Coalson
df4e40f553
turn on FLAC__MANDATORY_VERIFY_WHILE_ENCODING for 1.1.4-alpha1
2007-02-04 05:49:44 +00:00
Josh Coalson
469ba74996
minor comments
2007-02-03 02:52:32 +00:00
Josh Coalson
e74bd9516c
add 2007 copyright
2007-02-02 06:58:19 +00:00
Josh Coalson
f57bd7abbd
*** empty log message ***
2007-02-02 06:14:04 +00:00
Josh Coalson
90c693a806
speed up precompute_partition_info_escapes_()
2007-02-01 04:24:08 +00:00
Josh Coalson
37d9fb1a89
bump requisite _MSC_VER to <=1600 for fseeko/ftello hack
2007-01-31 05:37:20 +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
1c03407931
in FLAC__stream_encoder_set_metadata(), copy the metadata array of pointers instead of requiring the caller to keep it until initialization; the objects themselves are still owned by caller
2007-01-29 08:27:25 +00:00
Josh Coalson
423f804d50
several speed improvements: completely rewritten bitbuffer which uses native machine word size instead of bytes; much faster rice partition size estimation; crc16 calculation in machine word size
2007-01-28 17:40:26 +00:00
Josh Coalson
1109e7f808
code simplification and speed optimization for set_partitioned_rice_()
2007-01-24 04:26:15 +00:00
Josh Coalson
792c10ddd6
minor cleanup in count_rice_bits_()
2007-01-24 04:25:03 +00:00
Josh Coalson
ce1d07c000
add system for verifying that encoded frame size estimates are accurate; clean up the code for rice parameter searching and rice codeword length estimation
2007-01-23 05:00:46 +00:00
Josh Coalson
4e8fe85bce
fix bug with locale-specific -A defaults for -0..-8 (SF#1608883: https://sourceforge.net/tracker/index.php?func=detail&aid=1608883&group_id=13478&atid=113478 )
2006-12-05 01:36:46 +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
2beca73003
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-21 01:51:58 +00:00
Josh Coalson
f1ac7d9bde
make "#if FLAC__HAS_OGG" checking consistent
2006-11-16 07:20:09 +00:00
Josh Coalson
cf1422e21e
multifix: change FLAC__stream_encoder_finish() to also return false if there is an error processing the last frame or updating metadata; fix problem trying to update metadata when encoding to stdout; fix problem with updating metadata if client seek_callback returns UNSUPPORTED
2006-11-16 01:32:25 +00:00
Josh Coalson
c986d135f1
fix a bug where missing STREAMINFO fields (min/max framesize, total samples, MD5 sum) and seek point offsets were not getting rewritten back to Ogg FLAC file (SF#1338969 https://sourceforge.net/tracker/index.php?func=detail&aid=1338969&group_id=13478&atid=113478 )
2006-11-15 08:53:32 +00:00
Josh Coalson
acd4a4345e
fix compiler warnings
2006-11-11 22:43:25 +00:00