Fix for bug 577; used a different approach than the submitted patch
authorMonty <xiphmont@xiph.org>
Fri, 29 Jun 2007 05:14:41 +0000 (05:14 +0000)
committerMonty <xiphmont@xiph.org>
Fri, 29 Jun 2007 05:14:41 +0000 (05:14 +0000)
commitae8047b80b39885abc08edf6495f679595f55105
tree3095d384f547d32df90f28f64aac4fb379b08141
parent259e1e5d1a0017bed472e45e7f2ff6f69c0310d8
Fix for bug 577; used a different approach than the submitted patch
(rather than fudging an out of bound result after computation, do it
the right way to begin with)

Add test for fix to seeking_example.

svn path=/trunk/vorbis/; revision=13198
examples/seeking_example.c
lib/vorbisfile.c