• Max Kellermann's avatar
    oggvorbis: don't detect OGG header if stream is not seekable · a1b430cb
    Max Kellermann authored
    If the input stream is not seekable, the try_decode() function
    consumes valuable data, which is not available to the decode()
    function anymore.  This means that the decode() function does not
    parse the header correctly.  Better skip the detection if we cannot
    seek.  Or implement better buffering, something like unread() or
    buffered rewind().
    a1b430cb
Name
Last commit
Last update
bs Loading commit data...
doc Loading commit data...
m4 Loading commit data...
scripts Loading commit data...
src Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
README Loading commit data...
TODO Loading commit data...
UPGRADING Loading commit data...
autogen.sh Loading commit data...
build.mk Loading commit data...
configure.ac Loading commit data...