diff options
author | Monty <xiphmont@xiph.org> | 2002-01-22 08:06:08 +0000 |
---|---|---|
committer | Monty <xiphmont@xiph.org> | 2002-01-22 08:06:08 +0000 |
commit | 8bc503a5542c92625e705000f381995a55af1b88 (patch) | |
tree | c4e390b959df8c103b862c40e30706df25b1c729 /examples | |
parent | 65edd8f42e2c38650fd5c790337d11eab297f2ea (diff) | |
download | libvorbis-git-8bc503a5542c92625e705000f381995a55af1b88.tar.gz |
Fixed a memory management error in the new codebook code
Removed final-stage infinite shift buffer; now a no-copy
double buffer; removes another 70kB nominal from decode
with slight speed improvement (~2%)
there's still an exact-position seek bug found by seeking_example to
track down. The seek succeeds, but the position is off.
Monty
svn path=/trunk/vorbis/; revision=2975
Diffstat (limited to 'examples')
-rw-r--r-- | examples/decoder_example.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/decoder_example.c b/examples/decoder_example.c index ee15ca70..e246bd24 100644 --- a/examples/decoder_example.c +++ b/examples/decoder_example.c @@ -11,7 +11,7 @@ ******************************************************************** function: simple example decoder - last mod: $Id: decoder_example.c,v 1.24 2001/12/19 23:13:32 segher Exp $ + last mod: $Id: decoder_example.c,v 1.25 2002/01/22 08:06:05 xiphmont Exp $ ********************************************************************/ @@ -38,6 +38,8 @@ ogg_int16_t convbuffer[4096]; /* take 8k out of the data segment, not the stack */ int convsize=4096; +extern void _VDBG_dump(void); + int main(){ ogg_sync_state oy; /* sync and verify incoming physical bitstream */ ogg_stream_state os; /* take physical pages, weld into a logical |