Commit Graph

936 Commits

Author SHA1 Message Date
Josh Coalson
9047139ee3 MSVC workarounds 2007-02-04 19:45:44 +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
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
c85056b3d5 use inline byte-swapping function for MSVC 2007-02-04 02:57:48 +00:00
Josh Coalson
d1dd66b3f3 minor asserts 2007-02-03 02:54:10 +00:00
Josh Coalson
67e5d6d41b minor syntax 2007-02-03 02:53:29 +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
fc92d8dbc6 bump version to 1.1.4-alpha1 2007-02-02 06:18:51 +00:00
Josh Coalson
0486d4352a add dithering to lp coeff quantization 2007-02-02 06:14:41 +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
8008739dc5 make CVS vendor string 2007-01-29 00:43:27 +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
76ba93a4ee minor comments 2007-01-28 17:37:55 +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
f5dd47832d minor optimizations 2007-01-24 04:23:53 +00:00
Josh Coalson
92e43175e3 minor typo 2007-01-24 04:23:11 +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
08f582e35b add FLAC__bitbuffer_get_input_bits_unconsumed() 2007-01-09 02:01:54 +00:00
Josh Coalson
d351d04437 fix makefile bug with ogg linkage (SF#1611414: http://sourceforge.net/tracker/index.php?func=detail&aid=1611414&group_id=13478&atid=113478) 2006-12-14 07:23:48 +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
2c93a74246 *** empty log message *** 2006-11-21 08:26:54 +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
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
c85f31440d bump version number to 1.1.3 2006-11-17 16:00:55 +00:00
Josh Coalson
ab56ef11b8 fixes from 64-bit compile 2006-11-17 06:52:19 +00:00
Josh Coalson
b0627a4e42 fixes from MSVC compile 2006-11-17 06:05:02 +00:00
Josh Coalson
f1ac7d9bde make "#if FLAC__HAS_OGG" checking consistent 2006-11-16 07:20:09 +00:00
Josh Coalson
80011e40ab minor comments 2006-11-16 01:35:21 +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&amp;aid=1338969&amp;group_id=13478&amp;atid=113478) 2006-11-15 08:53:32 +00:00
Josh Coalson
7d273b4bdb add support for read-only operations for ogg flac to chain interface 2006-11-15 06:12:30 +00:00
Josh Coalson
e58aabdb75 fixes from MSVC6 2006-11-14 05:40:34 +00:00
Josh Coalson
32e85a74f8 compile fixes based on patch (SF#913238 http://sourceforge.net/tracker/index.php?func=detail&aid=913238&group_id=13478&atid=113478 2006-11-13 06:42:51 +00:00
Josh Coalson
acd4a4345e fix compiler warnings 2006-11-11 22:43:25 +00:00
Josh Coalson
089566719c patch sf#1580550 noexec stack: http://sourceforge.net/tracker/index.php?func=detail&aid=1580550&group_id=13478&atid=313478 2006-11-10 07:20:15 +00:00
Josh Coalson
49f2f1699c add overreading in the stream encoder process calls to be able to reliably detect when we are at the last block; also fixes a problem with EOS packet flag setting in Ogg FLAC 2006-11-09 16:54:52 +00:00
Josh Coalson
b7b57ef207 fix bug in verify_write_callback_ where the FIFO dequeueing did not memmove all the data 2006-11-09 07:06:33 +00:00
Josh Coalson
a586226fda add a boolean return value to FLAC__stream_encoder_finish() that signals a verify mismatch 2006-11-09 06:58:26 +00:00
Josh Coalson
fb84f25bc1 minor syntax 2006-11-09 06:53:10 +00:00
Josh Coalson
85aaed8f87 fix bug where window was not recalculated when blocksize decreased; better wording for fractional blocks 2006-11-09 01:19:13 +00:00
Josh Coalson
8295fd03b6 fixes for new seeking algorithm 2006-11-08 17:07:58 +00:00
Josh Coalson
e9b6183bde some more unsigned->size_t fixes 2006-11-06 17:06:19 +00:00