[FFmpeg-cvslog] aacenc_tns: actually apply TNS filter to the coefficients

Rostislav Pehlivanov git at videolan.org
Sat Aug 29 20:26:08 CEST 2015


ffmpeg | branch: master | Rostislav Pehlivanov <atomnuker at gmail.com> | Sat Aug 29 19:18:18 2015 +0100| [902ac9ca74d5d39752f9cf42e9432d5a910e9650] | committer: Rostislav Pehlivanov

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 at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=902ac9ca74d5d39752f9cf42e9432d5a910e9650
---

 libavcodec/aacenc_tns.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/aacenc_tns.c b/libavcodec/aacenc_tns.c
index 5e02c4f..0b22b67 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++) {



More information about the ffmpeg-cvslog mailing list