提交 88212105 编写于 作者: A Alex Converse 提交者: Robert Swain

AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 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% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册