aacenc_tns: actually apply TNS filter to the coefficients
authorRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 29 Aug 2015 18:18:18 +0000 (19:18 +0100)
committerRostislav Pehlivanov <atomnuker@gmail.com>
Sat, 29 Aug 2015 18:18:18 +0000 (19:18 +0100)
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>
libavcodec/aacenc_tns.c

index 5e02c4f..0b22b67 100644 (file)
@@ -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++) {