Commit 88212105 authored by Alex Converse's avatar Alex Converse Committed by Robert Swain
Browse files

AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent dbbec0c2
...@@ -803,7 +803,7 @@ static int decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBit ...@@ -803,7 +803,7 @@ static int decode_spectrum_and_dequant(AACContext * ac, float coef[1024], GetBit
return -1; return -1;
} }
n = (1<<n) + get_bits(gb, n); 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 }else
coef[coef_tmp_idx + j] *= vq_ptr[j]; coef[coef_tmp_idx + j] *= vq_ptr[j];
} }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment