AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Alex Converse 16 years ago committed by Robert Swain
parent dbbec0c2f2
commit 8821210575
  1. 2
      libavcodec/aac.c

@ -803,7 +803,7 @@ static int decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBit
return -1;
}
n = (1<<n) + get_bits(gb, n);
coef[coef_tmp_idx + j] *= cbrtf(fabsf(n)) * n;
coef[coef_tmp_idx + j] *= cbrtf(n) * n;
}else
coef[coef_tmp_idx + j] *= vq_ptr[j];
}

Loading…
Cancel
Save