From 902ac9ca74d5d39752f9cf42e9432d5a910e9650 Mon Sep 17 00:00:00 2001 From: Rostislav Pehlivanov Date: Sat, 29 Aug 2015 19:18:18 +0100 Subject: [PATCH] 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 --- libavcodec/aacenc_tns.c | 2 -- 1 file changed, 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++) {