Seeking fixes - return values were wrong in error cases.
authorMike Smith <msmith@xiph.org>
Fri, 29 Mar 2002 07:58:05 +0000 (07:58 +0000)
committerMike Smith <msmith@xiph.org>
Fri, 29 Mar 2002 07:58:05 +0000 (07:58 +0000)
commit7aab9f3c87417ac2533a6bd909138eeea6141f3f
tree71224cabe9b41ce758edbb80b567b39afa2c33ca
parentfb0dd6c00bb1ce1d5b070905b8ba7fd410cd5afa
Seeking fixes - return values were wrong in error cases.
Make ov_read() return OV_EINVAL for too-small-for-any-data buffers.
Fixes #171, and another bug not reported in bugzilla.

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