• Max Kellermann's avatar
    flac: decoder command means EOF · 6df980a9
    Max Kellermann authored
    It was possible for the decoder thread to go into an endless loop
    (flac and oggflac decoders): when a "STOP" command arrived, the Read()
    callback would return 0, but the EOF() callback returned false.  Fix:
    when decoder_get_command()!=NONE, return EOF==true.
    6df980a9
oggflac_plugin.c 11.6 KB