ov_read_float() was calling vorbis_synthesis_read() and moving pointers
authorJack Moffitt <jack@xiph.org>
Tue, 18 Dec 2001 22:02:25 +0000 (22:02 +0000)
committerJack Moffitt <jack@xiph.org>
Tue, 18 Dec 2001 22:02:25 +0000 (22:02 +0000)
commitdd31f32e9044d4c5fcaa12fe19eb924641397812
tree99d126e14b430ded025298b25b1805abc67f6649
parenta1048e556cb7a3cc14d3651085a56f93d93e96d0
ov_read_float() was calling vorbis_synthesis_read() and moving pointers
before we had processed the buffer.  Instead of relying on ov_read_float
to process our data before we pack it into integer types, we reimplement
the small loop that it uses without the parts calling
vorbis_synthesis_read.

svn path=/trunk/vorbis/; revision=2658
lib/vorbisfile.c