diff options
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index f7665154d..bf062aa55 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -44,10 +44,8 @@ bool DecoderSndFileFactory::supports(const QString &source) const SNDFILE *sndfile = sf_open(source.toLocal8Bit().constData(), SFM_READ, &snd_info); #endif if (!sndfile) - { - qDebug("failed!!"); return false; - } + sf_close (sndfile); sndfile = 0; return true; |
