FLAC reader: fix compilation with older versions of FLAC

This commit is contained in:
Moritz Bunkus 2022-09-22 16:30:27 +02:00
parent 8b2f4a1a69
commit 48bf02f0bd
No known key found for this signature in database
GPG Key ID: 74AF00ADF2E32C85

View File

@ -291,7 +291,6 @@ flac_reader_c::flac_error_cb(FLAC__StreamDecoderErrorStatus status) {
: status == FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER ? "FLAC__STREAM_DECODER_ERROR_STATUS_BAD_HEADER"
: status == FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH ? "FLAC__STREAM_DECODER_ERROR_STATUS_FRAME_CRC_MISMATCH"
: status == FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM ? "FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM"
: status == FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA ? "FLAC__STREAM_DECODER_ERROR_STATUS_BAD_METADATA"
: "<unknown>";
mxdebug_if(m_debug, fmt::format("flac_reader: error callback: {0} ({1})\n", static_cast<int>(status), type));