Permalink
Browse files

fixed, Operator '?:' has lower precedence than '*'; '*' will be evalu…

…ated first. Which is wrong :)
  • Loading branch information...
1 parent d4b480d commit 98aa1c35a7fc5174487572d94bc05c6b3d6255c9 @davilla davilla committed Oct 28, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 xbmc/cores/AudioEngine/Engines/ActiveAE/ActiveAE.cpp
@@ -1731,7 +1731,7 @@ bool CActiveAE::RunStages()
#else
for (int k = 0; k < nb_floats; ++k)
{
- dst[k] += src[k] * m_muted ? 0.0 : volume;
+ dst[k] += src[k] * (m_muted ? 0.0 : volume);
if (fabs(dst[k]) > 1.0f)
needClamp = true;
}

0 comments on commit 98aa1c3

Please sign in to comment.