diff options
author | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-08 11:05:48 +0100 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-11-08 11:05:48 +0100 |
commit | dcf1cf5d24c85d848eabac90720d7f77d594a88c (patch) | |
tree | 6685374a836c6c6b841a8024af6998b7d2904a8b /libavcodec/aacsbr_template.c | |
parent | a66b243d522344e12e3970e72e02183185a29ebe (diff) | |
download | ffmpeg-dcf1cf5d24c85d848eabac90720d7f77d594a88c.tar.gz |
avcodec/aacsbr: Use FLOAT_0
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavcodec/aacsbr_template.c')
-rw-r--r-- | libavcodec/aacsbr_template.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacsbr_template.c b/libavcodec/aacsbr_template.c index 9561ba014e..66f415912c 100644 --- a/libavcodec/aacsbr_template.c +++ b/libavcodec/aacsbr_template.c @@ -1414,7 +1414,7 @@ static void sbr_env_estimate(AAC_FLOAT (*e_curr)[48], INTFLOAT X_high[64][40][2] for (p = 0; p < sbr->n[ch_data->bs_freq_res[e + 1]]; p++) { #if USE_FIXED - SoftFloat sum = { 0, 0 }; + SoftFloat sum = FLOAT_0; const SoftFloat den = av_int2sf(0x20000000 / (env_size * (table[p + 1] - table[p])), 29); for (k = table[p]; k < table[p + 1]; k++) { sum = av_add_sf(sum, sbr->dsp.sum_square(X_high[k] + ilb, iub - ilb)); |