summaryrefslogtreecommitdiff
path: root/vorbisfile.c
Commit message (Collapse)AuthorAgeFilesLines
* Commit suggested fix for #2021 Backport additional #1486 -n -r 19164 set ↵Monty2014-06-241-2/+17
| | | | | | keyword property on source files git-svn-id: https://svn.xiph.org/trunk/Tremor@19172 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Backport #1486 fixes from libvorbis to Tremor (trunk)Monty2014-06-241-73/+142
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@19170 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix mis-matched types for serialno's.Tim Terriberry2011-11-061-4/+4
| | | | | | | | | | | | | | | The use of long caused some functions which now use libogg's ogg_page_serialno() (which returns an int) to sign-extend the serialno, while the actual list was stored as ogg_uint32_t's. This would cause subsequent lookups to fail on platforms with a 64-bit long. Introduced in r17375 and r16259, but only partially corrected in r17536. Fixes #1838. Thanks to achurch for the report. git-svn-id: https://svn.xiph.org/trunk/Tremor@18116 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix for Trac #1578; alter open1 so that serialnos[0] and Monty2010-10-271-2/+1
| | | | | | | | vf->current_serialno matches on return. git-svn-id: https://svn.xiph.org/trunk/Tremor@17572 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix _lookup_serial to compare with proper types.Tim Terriberry2010-10-141-4/+4
| | | | | | | | Storing a serial number in a long and comparing it to an ogg_uint32_t only works if you cast the long down, instead of letting C promote it. git-svn-id: https://svn.xiph.org/trunk/Tremor@17536 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Commit provisional fix for 64 bit math overflow in libvorbisfileMonty2010-10-141-2/+33
| | | | | | | | | | | | | seeking bisection computation This is the equivalent of the r15921 fix in reference, but doesn't require a double cast (for obvious reasons). The technique is different, the intent is the same (avoid a 64x64= >64 bit overflow) git-svn-id: https://svn.xiph.org/trunk/Tremor@17534 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Convert Tremor to use libogg instead of its own internal libogg2.Tim Terriberry2010-08-311-497/+481
| | | | | | | | | | | | | 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
* Remove the extra argument from vorbis_synthesis().Tim Terriberry2010-08-311-10/+10
| | | | | | | | Add vorbis_synthesis_trackonly() instead, so that this part of the API works like mainline libvorbis now. git-svn-id: https://svn.xiph.org/trunk/Tremor@17374 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Merge recent vorbifile changes, extensions and fixes back fromMonty2009-07-111-317/+601
| | | | | | | | reference 1.2.2 and 1.2.3 into tremor. git-svn-id: https://svn.xiph.org/trunk/Tremor@16259 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Calculate number of samples correctly for any number of channels, so we don'tMike Smith2007-09-131-7/+2
| | | | | | | overrun our destination array for > 2 channels. git-svn-id: https://svn.xiph.org/trunk/Tremor@13794 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Suppress some (spurious) uninitialized variable warnings.Ralph Giles2006-01-091-1/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@10710 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix a number of warnings, issue #622.Ralph Giles2006-01-091-2/+2
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@10707 0101bb08-14d6-0310-b084-bc0e0c8e3800
* move '#include "os.h"' to misc.h and j2005-05-101-1/+0
| | | | | | | | remove it where misc.h is included. git-svn-id: https://svn.xiph.org/trunk/Tremor@9257 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix several minor bits of merge weirdness spotted by slothead.Monty2003-03-301-3/+3
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4570 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Roll all recent optimizations and fixes to mainline vorbisfile into TremorMonty2003-03-291-249/+421
| | | | | | | First mainline deployment of libogg 2 (embedded into Tremor) git-svn-id: https://svn.xiph.org/trunk/Tremor@4565 0101bb08-14d6-0310-b084-bc0e0c8e3800
* Fix ov_time_tell() tonot always return a multiple of 1000Monty2002-10-161-1/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@4011 0101bb08-14d6-0310-b084-bc0e0c8e3800
* fix ov_time_tell bug in nonseekable streamMonty2002-10-111-1/+1
| | | | git-svn-id: https://svn.xiph.org/trunk/Tremor@3995 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/+1417
git-svn-id: https://svn.xiph.org/trunk/Tremor@3890 0101bb08-14d6-0310-b084-bc0e0c8e3800