make error_callback printout more verbose
authorJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 27 Mar 2001 01:19:55 +0000 (01:19 +0000)
committerJosh Coalson <jcoalson@users.sourceforce.net>
Tue, 27 Mar 2001 01:19:55 +0000 (01:19 +0000)
src/flac/decode.c

index 1bde81e..659c234 100644 (file)
@@ -480,7 +480,7 @@ void error_callback(const FLAC__FileDecoder *decoder, FLAC__StreamDecoderErrorSt
 {
        stream_info_struct *stream_info = (stream_info_struct *)client_data;
        (void)decoder;
-       fprintf(stderr, "*** Got error code %d\n", status);
+       fprintf(stderr, "*** Got error code %d:%s\n", status, FLAC__StreamDecoderErrorStatusString[status]);
        stream_info->abort_flag = true;
 }