summaryrefslogtreecommitdiff
path: root/floor1.c
Commit message (Collapse)AuthorAgeFilesLines
* Tremor mainline fix commit for Moz BZ #719612Monty2012-01-201-0/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@18152 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r17543 from Tremor.Tim Terriberry2010-10-211-3/+2
| | | | | | | | | A codebook that allows values outside the circular range of the piecewise floor1 representation can overflow the lookup Also fix a typo in the comments of the original patch. git-svn-id: https://svn.xiph.org/trunk/Tremor@17555 0101bb08-14d6-0310-b084-bc0e0c8e3800
* If fuzzing swaps in a codebook that allows values outside the circularMonty2010-10-181-3/+9
| | | | | | | | | | range of the piecewise representation, it can overflow the lookup. Proper fix here is just a simple clamp. git-svn-id: https://svn.xiph.org/trunk/Tremor@17543 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port the rest of r16222 from libvorbis.Tim Terriberry2010-10-141-0/+2
| | | | | | | Commit additional hardening to setup packet decode. git-svn-id: https://svn.xiph.org/trunk/Tremor@17525 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port of r16182 from libvorbis.Tim Terriberry2010-10-141-4/+15
| | | | | | | | | Second half of fix to https://bugzilla.mozilla.org/show_bug.cgi?id=500254 Sanity check the floor 1 post list to reject files with repeated values that would result in floor line segments with zero length. git-svn-id: https://svn.xiph.org/trunk/Tremor@17523 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Convert Tremor to use libogg instead of its own internal libogg2.Tim Terriberry2010-08-311-1/+1
| | | | | | | | | | | | | This makes it easier to use Tremor as a drop-in replacement for libvorbis and reduces code size and overhead for those who don't want to use its built-in Ogg demuxer. This commit also backports all of the changes that have accumulated in libvorbis's vorbisfile implementation, with the exception of halfrate decoding and cross-lapped seeking. Those should not be too hard to add if someone really wants them. git-svn-id: https://svn.xiph.org/trunk/Tremor@17375 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Add proper guarding to cases where declared floor/residue decode sizeMonty2007-06-211-4/+6
| | | | | | | | is *larger* than the current blocksize. Handle according to spec. git-svn-id: https://svn.xiph.org/trunk/Tremor@13156 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix a number of warnings, issue #622.Ralph Giles2006-01-091-0/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@10707 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Memory behavior tuning. Average heap usage from 250kB -> 155kB. Much moreMonty2002-11-251-6/+0
| | | | | | | requires the newer zero-copy libogg2 backport and on-the-fly codebook decode. git-svn-id: https://svn.xiph.org/trunk/Tremor@4120 0101bb08-14d6-0310-b084-bc0e0c8e3800
* fix a build straggler in the low accuracy patchMonty2002-10-161-66/+66
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4013 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Nicolas Pitre's LOW_ACCURACY patchMonty2002-10-161-67/+71
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4012 0101bb08-14d6-0310-b084-bc0e0c8e3800
* const-ify a few things that really ought to be.Monty2002-10-161-1/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4010 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Update headers on source files for BSD license.Monty2002-09-031-1/+4
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@3895 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Put root level of Tremor in CVSMonty2002-09-021-0/+437
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800