diff options
| author | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
|---|---|---|
| committer | trialuser02 <trialuser02@90c681e8-e032-0410-971d-27865f9a5e38> | 2010-03-11 19:32:01 +0000 |
| commit | 11b7655bb103974d3a855d64dc0b6ec1b0df4ba1 (patch) | |
| tree | 09084901838b8d57f345a5379cf5915cde4a9921 /src/plugins/Input/mpc/decoder_mpc.cpp | |
| parent | 013ee07b55a3738b28b5d46324392d8498b50f2b (diff) | |
| download | qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.gz qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.tar.bz2 qmmp-11b7655bb103974d3a855d64dc0b6ec1b0df4ba1.zip | |
reapplied previous patch
git-svn-id: http://svn.code.sf.net/p/qmmp-dev/code/trunk/qmmp@1620 90c681e8-e032-0410-971d-27865f9a5e38
Diffstat (limited to 'src/plugins/Input/mpc/decoder_mpc.cpp')
| -rw-r--r-- | src/plugins/Input/mpc/decoder_mpc.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/plugins/Input/mpc/decoder_mpc.cpp b/src/plugins/Input/mpc/decoder_mpc.cpp index 763a5b477..93751a51f 100644 --- a/src/plugins/Input/mpc/decoder_mpc.cpp +++ b/src/plugins/Input/mpc/decoder_mpc.cpp @@ -153,7 +153,7 @@ bool DecoderMPC::initialize() if (!input()) { qWarning("DecoderMPC: cannot initialize. No input."); - return FALSE; + return false; } if (!input()->isOpen()) @@ -161,7 +161,7 @@ bool DecoderMPC::initialize() if (!input()->open(QIODevice::ReadOnly)) { qWarning("DecoderMPC: unable to open input."); - return FALSE; + return false; } } if (!m_data) @@ -180,12 +180,12 @@ bool DecoderMPC::initialize() #ifdef MPC_OLD_API mpc_streaminfo_init (&m_data->info); if (mpc_streaminfo_read (&m_data->info, &m_data->reader) != ERROR_CODE_OK) - return FALSE; + return false; #else m_data->demuxer = mpc_demux_init (&m_data->reader); if (!m_data->demuxer) - return FALSE; + return false; mpc_demux_get_info (m_data->demuxer, &m_data->info); #endif @@ -199,7 +199,7 @@ bool DecoderMPC::initialize() if (!mpc_decoder_initialize (&data()->decoder, &data()->info)) { qWarning("DecoderMPC: cannot get info."); - return FALSE; + return false; } rg_info[Qmmp::REPLAYGAIN_ALBUM_GAIN] = data()->info.gain_album/100.0; rg_info[Qmmp::REPLAYGAIN_TRACK_GAIN] = data()->info.gain_title/100.0; |
