diff options
author | Vitor Sessak <vitor1001@gmail.com> | 2008-09-04 15:04:08 +0000 |
---|---|---|
committer | Vitor Sessak <vitor1001@gmail.com> | 2008-09-04 15:04:08 +0000 |
commit | 1775c7fac6f70f77986dc8adab674b6d4510c7f7 (patch) | |
tree | e9925c5a8430c6776ff779d68326f99dea4c88f6 /libavcodec/aac.c | |
parent | e4b8f1fa77e048eae8c6e3caee9ac495302a36aa (diff) |
Multiply table by -1. This avoid doing this calculation (that was introduced
in my last commit) in real time.
Originally committed as revision 15195 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/aac.c')
-rw-r--r-- | libavcodec/aac.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/aac.c b/libavcodec/aac.c index 94f27acda1..c59a663bec 100644 --- a/libavcodec/aac.c +++ b/libavcodec/aac.c @@ -635,7 +635,7 @@ static int decode_tns(AACContext * ac, TemporalNoiseShaping * tns, tmp2_idx = 2*coef_compress + coef_res; for (i = 0; i < tns->order[w][filt]; i++) - tns->coef[w][filt][i] = -tns_tmp2_map[tmp2_idx][get_bits(gb, coef_len)]; + tns->coef[w][filt][i] = tns_tmp2_map[tmp2_idx][get_bits(gb, coef_len)]; } } } |