summaryrefslogtreecommitdiff
path: root/block.c
Commit message (Collapse)AuthorAgeFilesLines
* Harden the code that trims the last packet of a stream; it wasMonty2010-10-181-4/+34
| | | | | | | | | possible to game the granpos such that the trim code would try to rewind more samples than were actually available in storage. git-svn-id: https://svn.xiph.org/trunk/Tremor@17541 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r17177 from libvorbis.Tim Terriberry2010-10-141-9/+10
| | | | | | | | r16328 (committed in Tremor as r17526) broke chaining by causing vorbis_synthesis_init() to fail on a second call. git-svn-id: https://svn.xiph.org/trunk/Tremor@17531 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Port r16328 and r16330 from libvorbis.Tim Terriberry2010-10-141-7/+18
| | | | | | | | | ivorbisfile_example.c ignores an error code and plows ahead blindly if libvorbisidec reports the current bitstream section is bad (OV_EBADLINK). Retrying after the error crashes libvorbisidec due to the unitialized state. git-svn-id: https://svn.xiph.org/trunk/Tremor@17526 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Forward port the rest of r5278.Tim Terriberry2010-10-131-3/+5
| | | | | | | | The vorbisfile part of this got merged in r16259, but the corresponding changes to voris_synthesis_init() to actually return a failure code did not. git-svn-id: https://svn.xiph.org/trunk/Tremor@17518 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
* Roll all recent optimizations and fixes to mainline vorbisfile into TremorMonty2003-03-291-66/+83
| | | | | | | First mainline deployment of libogg 2 (embedded into Tremor) git-svn-id: https://svn.xiph.org/trunk/Tremor@4565 0101bb08-14d6-0310-b084-bc0e0c8e3800
* mdct comment change (correct the vorbis window function description)Monty2002-10-161-29/+53
| | | | | | | | | | Roll a libvorbis fix into tremor (if audio stream has only one page and that page is a short page) Monty git-svn-id: https://svn.xiph.org/trunk/Tremor@4008 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/+409
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800