fix compile error: "lvalue required as left operand of assignment"

This commit is contained in:
Chris Kuethe 2015-11-16 22:24:44 -08:00
parent 580c2f0813
commit 6bcf335b39

View File

@ -307,12 +307,12 @@ int Decimator::CHalfBand11TapDecimateBy2::DecBy2(int InLength,
for(i = 0; i < (InLength - 11 - 6) / 2; i++)
{
(*pOut).real() = H0 * pIn[0].real() + H2 * pIn[2].real()
(*pOut).real( H0 * pIn[0].real() + H2 * pIn[2].real()
+ H4 * pIn[4].real() + H5 * pIn[5].real() + H6 * pIn[6].real()
+ H8 * pIn[8].real() + H10 * pIn[10].real();
(*pOut++).imag() = H0 * pIn[0].imag() + H2 * pIn[2].imag()
+ H8 * pIn[8].real() + H10 * pIn[10].real());
(*pOut++).imag( H0 * pIn[0].imag() + H2 * pIn[2].imag()
+ H4 * pIn[4].imag() + H5 * pIn[5].imag() + H6 * pIn[6].imag()
+ H8 * pIn[8].imag() + H10 * pIn[10].imag();
+ H8 * pIn[8].imag() + H10 * pIn[10].imag());
pIn += 2;
}