diff options
author | Michael Niedermayer <[email protected]> | 2015-11-08 11:05:48 +0100 |
---|---|---|
committer | Michael Niedermayer <[email protected]> | 2015-11-12 00:42:35 +0100 |
commit | 21e42d9b0d3753534365b72bfef1aff9dfa37986 (patch) | |
tree | 36461ca52ece2f4bc0e0c94278aa68f43353ffb4 /libavcodec/aacsbr_fixed.c | |
parent | e10c353ca5c34054aa42bbfba3c992ca947c59db (diff) |
avcodec/aacsbr: Use FLOAT_0
Signed-off-by: Michael Niedermayer <[email protected]>
(cherry picked from commit dcf1cf5d24c85d848eabac90720d7f77d594a88c)
Signed-off-by: Michael Niedermayer <[email protected]>
Diffstat (limited to 'libavcodec/aacsbr_fixed.c')
-rw-r--r-- | libavcodec/aacsbr_fixed.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aacsbr_fixed.c b/libavcodec/aacsbr_fixed.c index e048069359..f942d74615 100644 --- a/libavcodec/aacsbr_fixed.c +++ b/libavcodec/aacsbr_fixed.c @@ -397,7 +397,7 @@ static void sbr_gain_calc(AACContext *ac, SpectralBandReplication *sbr, int delta = !((e == e_a[1]) || (e == e_a[0])); for (k = 0; k < sbr->n_lim; k++) { SoftFloat gain_boost, gain_max; - SoftFloat sum[2] = { { 0, 0}, { 0, 0 } }; + SoftFloat sum[2] = { FLOAT_0, FLOAT_0 }; for (m = sbr->f_tablelim[k] - sbr->kx[1]; m < sbr->f_tablelim[k + 1] - sbr->kx[1]; m++) { const SoftFloat temp = av_div_sf(sbr->e_origmapped[e][m], av_add_sf(FLOAT_1, sbr->q_mapped[e][m])); |