1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-29 22:00:58 +02:00

AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)

Originally committed as revision 16039 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Alex Converse 2008-12-09 11:35:08 +00:00 committed by Robert Swain
parent dbbec0c2f2
commit 8821210575

View File

@ -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];
}