diff options
Diffstat (limited to 'src/plugins')
| -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 |
