diff aac.c @ 7790:209a9ad96a6c libavcodec

Multiply table by -1. This avoid doing this calculation (that was introduced in my last commit) in real time.
author vitor
date Thu, 04 Sep 2008 15:04:08 +0000
parents ffd4b1364b62
children e4edcbbca3f3
line wrap: on
line diff
--- a/aac.c	Thu Sep 04 12:21:06 2008 +0000
+++ b/aac.c	Thu Sep 04 15:04:08 2008 +0000
@@ -635,7 +635,7 @@
                 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)];
             }
         }
     }