From 60c100abc0eccfd437a92f033fb8ef07c0d58714 Mon Sep 17 00:00:00 2001 From: trialuser02 Date: Wed, 15 Jun 2016 07:14:23 +0000 Subject: cleanup git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@6459 90c681e8-e032-0410-971d-27865f9a5e38 --- src/plugins/Input/sndfile/decodersndfilefactory.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/plugins/Input/sndfile/decodersndfilefactory.cpp') 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; -- cgit v1.2.3-13-gbd6f