Timothy B. Terriberry
0fd8d675f8
Improve encoder bust test from 5f089d22
.
...
Change the constants so simply ORing the raw bits into the range
coder data won't pass the test.
2011-09-07 01:42:10 -04:00
Timothy B. Terriberry
5f089d224d
Add an encoder busting test.
...
This tests the behavior when merging the last few raw bits into
the final range coder byte causes a bust.
This is mostly to make Greg Maxwell happy about his code coverage.
In theory the code in question should never be hit (we should only
bust if the user buffer is too small for SILK, which doesn't use
raw bits).
2011-09-07 01:32:54 -04:00
Gregory Maxwell
16901bfbbd
Avoid left-shift by 32 on int32 in ectest.
2011-09-02 19:31:08 -04:00
Gregory Maxwell
a2ab52d24f
Avoids signed overflow in ectest random number generation.
2011-09-02 18:03:43 -04:00
Gregory Maxwell
d6335abedc
Adds many syntactically unnecessary parentheses to silence GCC -Wparentheses.
...
The object code is unchanged (except ectest). Also reenables -Wparentheses, -Wsign-compare,
and the MSVC warnings.
2011-08-30 20:16:23 -04:00
Jean-Marc Valin
0abd1b0dea
Makes the allocation more C++-friendly
2011-08-29 16:31:52 -04:00
Gregory Maxwell
71d39ad841
Correct many whitespace errors under libcelt/ and remove
...
non-ascii characters from the source.
2011-07-30 21:54:59 -04:00
Jean-Marc Valin
fa562fc1cb
Leaving just libcelt
2011-04-28 15:06:25 -04:00