• Laszlo Ashin's avatar
    wavpack: check last_byte in push_back_byte() method · 3e338da8
    Laszlo Ashin authored
    At this moment the wavpack lib doesn't use the return value of the
    push_back function, which has an equivalent meaning of the return
    value of ungetc().  This is a lucky situation, because so far it
    simply returned with 1 as a hard coded value.  From now on the
    function will return EOF on error.  (This function makes exactly one
    byte pushable back.)
    3e338da8
wavpack_plugin.c 13 KB