summaryrefslogtreecommitdiffstats
path: root/src/decoders/qalflacaudiodecoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/decoders/qalflacaudiodecoder.cpp')
-rw-r--r--src/decoders/qalflacaudiodecoder.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/decoders/qalflacaudiodecoder.cpp b/src/decoders/qalflacaudiodecoder.cpp
index 3fc6460..a272b0c 100644
--- a/src/decoders/qalflacaudiodecoder.cpp
+++ b/src/decoders/qalflacaudiodecoder.cpp
@@ -109,6 +109,9 @@ QALFlacAudioDecoder::Private::lengthCallback(const FLAC__StreamDecoder *decoder,
FLAC__bool
QALFlacAudioDecoder::Private::eofCallback(const FLAC__StreamDecoder *decoder, void *client_data)
{
+ Q_UNUSED(decoder)
+
+ return reinterpret_cast<QALFlacAudioDecoder::Private*>(client_data)->file.atEnd();
}
FLAC__StreamDecoderWriteStatus