Commit d71f3147 authored by superdump's avatar superdump

AAC: Remove unnecessary fabsf()

Patch by Alex Converse (alex converse gmail com)


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@16039 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ac45fcc5
...@@ -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