• Max Kellermann's avatar
    decoder: rewind input stream after try_decode() · 2124df13
    Max Kellermann authored
    The try_decode() method may have read some data from the stream, which
    is now lost.  To make this data available to other methods, get it
    back by rewinding the input stream after each try_decode() invocation.
    
    The ogg and wavpack plugins did this manually and inconsistently; this
    code can now be removed.
    2124df13
decoder_thread.c 5.39 KB