From 44f48b8fcd7c1f234050a4fe8bc599498eab9afe Mon Sep 17 00:00:00 2001 From: Laszlo Papp Date: Wed, 7 Dec 2011 19:20:34 +0200 Subject: Implement the eofCallback of the flac audio decoder backend --- src/decoders/qalflacaudiodecoder.cpp | 3 +++ 1 file changed, 3 insertions(+) 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(client_data)->file.atEnd(); } FLAC__StreamDecoderWriteStatus -- cgit v1.2.3