summaryrefslogtreecommitdiff
path: root/libavcodec/aacenc_tns.c
diff options
context:
space:
mode:
authorRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:18:18 +0100
committerRostislav Pehlivanov <atomnuker@gmail.com>2015-08-29 19:18:18 +0100
commit902ac9ca74d5d39752f9cf42e9432d5a910e9650 (patch)
tree5c3de7b7602aacb7d532a0e54f59efe45c4dd1fd /libavcodec/aacenc_tns.c
parent49854c56c2346a7e82ccb6b6e19fa2d2c159d4b9 (diff)
aacenc_tns: actually apply TNS filter to the coefficients
The encoder-side filter isn't that important. The PSNR shouldn't change so the FATE test should still be fine. Signed-off-by: Rostislav Pehlivanov <atomnuker@gmail.com>
Diffstat (limited to 'libavcodec/aacenc_tns.c')
-rw-r--r--libavcodec/aacenc_tns.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index 5e02c4fb44..0b22b6755e 100644
--- a/libavcodec/aacenc_tns.c
+++ b/libavcodec/aacenc_tns.c
@@ -123,8 +123,6 @@ void ff_aac_apply_tns(SingleChannelElement *sce)
int bottom, top, order, start, end, size, inc;
float *lpc, tmp[TNS_MAX_ORDER+1];
- return;
-
for (w = 0; w < sce->ics.num_windows; w++) {
bottom = sce->ics.num_swb;
for (filt = 0; filt < tns->n_filt[w]; filt++) {