ref: 7516e85813e5499579ef622dcc6da45a0b235ee6
parent: 8d42011603f647b0779bec2bbe6574f2db7532cf
author: cinap_lenrek <[email protected]>
date: Wed Feb 1 05:38:19 EST 2017
audio/flacdec: continue after decode error (thanks deuteron)
--- a/sys/src/cmd/audio/flacdec/flacdec.c
+++ b/sys/src/cmd/audio/flacdec/flacdec.c
@@ -117,7 +117,6 @@
decerror(FLAC__StreamDecoder *dec, FLAC__StreamDecoderErrorStatus status, void *client_data)
{
fprintf(stderr, "decode error: %s (%d)\n", FLAC__StreamDecoderErrorStatusString[status], status);
- exit(1);
}
int main(int argc, char *argv[])