diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-09-21 19:06:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2018-09-21 19:06:01 +0000 |
| commit | aac604c87b4b3b16b8cc4eb99ca9051749383f52 (patch) | |
| tree | c3bc76ba573a1d1c4a2b0bbe7a539f7d21f7f2c9 /src/plugins/Input | |
| parent | 308378970a4a584c6300a3822a21a41862d44445 (diff) | |
| download | qmmp-aac604c87b4b3b16b8cc4eb99ca9051749383f52.tar.gz qmmp-aac604c87b4b3b16b8cc4eb99ca9051749383f52.tar.bz2 qmmp-aac604c87b4b3b16b8cc4eb99ca9051749383f52.zip | |
fixed gcc warnings
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@8326 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input')
| -rw-r--r-- | src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp | 7 | ||||
| -rw-r--r-- | src/plugins/Input/sndfile/decodersndfilefactory.cpp | 2 |
2 files changed, 4 insertions, 5 deletions
diff --git a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp index cf414f61c..4dfa27327 100644 --- a/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp +++ b/src/plugins/Input/ffmpeg/decoder_ffmpeg.cpp @@ -20,6 +20,7 @@ #include <QObject> #include <QFile> +#include <QtDebug> #include "replaygainreader.h" #include "decoder_ffmpeg.h" #if (LIBAVCODEC_VERSION_INT >= AV_VERSION_INT(55,34,0)) //libav-10: 55.34.1; ffmpeg-2.1: 55.39.100 @@ -304,12 +305,8 @@ bool DecoderFFmpeg::initialize() if(c->bit_rate) m_bitrate = c->bit_rate/1000; qDebug("DecoderFFmpeg: initialize succes"); + qDebug() << "DecoderFFmpeg: total time =" << m_totalTime; -#ifdef Q_OS_WIN - qDebug("total time = %I64d", m_totalTime); -#else - qDebug("total time = %lld ", m_totalTime); -#endif return true; } diff --git a/src/plugins/Input/sndfile/decodersndfilefactory.cpp b/src/plugins/Input/sndfile/decodersndfilefactory.cpp index cc492fa00..f786e091a 100644 --- a/src/plugins/Input/sndfile/decodersndfilefactory.cpp +++ b/src/plugins/Input/sndfile/decodersndfilefactory.cpp @@ -29,7 +29,9 @@ #include "decoder_sndfile.h" #include "decodersndfilefactory.h" +#ifndef WAVE_FORMAT_PCM #define WAVE_FORMAT_PCM 0x0001 +#endif #define WAVE_FORMAT_ADPCM 0x0002 #define WAVE_FORMAT_IEEE_FLOAT 0x0003 #define WAVE_FORMAT_ALAW 0x0006 |
