summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/decoder.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libfaad/decoder.c')
-rw-r--r--apps/codecs/libfaad/decoder.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/apps/codecs/libfaad/decoder.c b/apps/codecs/libfaad/decoder.c
index 2285168253..db51d2ab6d 100644
--- a/apps/codecs/libfaad/decoder.c
+++ b/apps/codecs/libfaad/decoder.c
@@ -289,7 +289,7 @@ int32_t NEAACDECAPI NeAACDecInit(NeAACDecHandle hDecoder, uint8_t *buffer,
289 hDecoder->fb = ssr_filter_bank_init(hDecoder->frameLength/SSR_BANDS); 289 hDecoder->fb = ssr_filter_bank_init(hDecoder->frameLength/SSR_BANDS);
290 else 290 else
291#endif 291#endif
292 hDecoder->fb = filter_bank_init(hDecoder->frameLength); 292
293 293
294#ifdef LD_DEC 294#ifdef LD_DEC
295 if (hDecoder->object_type == LD) 295 if (hDecoder->object_type == LD)
@@ -383,7 +383,6 @@ int8_t NEAACDECAPI NeAACDecInit2(NeAACDecHandle hDecoder, uint8_t *pBuffer,
383 hDecoder->fb = ssr_filter_bank_init(hDecoder->frameLength/SSR_BANDS); 383 hDecoder->fb = ssr_filter_bank_init(hDecoder->frameLength/SSR_BANDS);
384 else 384 else
385#endif 385#endif
386 hDecoder->fb = filter_bank_init(hDecoder->frameLength);
387 386
388#ifdef LD_DEC 387#ifdef LD_DEC
389 if (hDecoder->object_type == LD) 388 if (hDecoder->object_type == LD)
@@ -429,7 +428,6 @@ int8_t NEAACDECAPI NeAACDecInitDRM(NeAACDecHandle *hDecoder, uint32_t samplerate
429 (*hDecoder)->sbr_present_flag = 1; 428 (*hDecoder)->sbr_present_flag = 1;
430#endif 429#endif
431 430
432 (*hDecoder)->fb = filter_bank_init((*hDecoder)->frameLength);
433 431
434 return 0; 432 return 0;
435} 433}
@@ -471,7 +469,7 @@ void NEAACDECAPI NeAACDecClose(NeAACDecHandle hDecoder)
471 ssr_filter_bank_end(hDecoder->fb); 469 ssr_filter_bank_end(hDecoder->fb);
472 else 470 else
473#endif 471#endif
474 filter_bank_end(hDecoder->fb); 472
475 473
476 drc_end(hDecoder->drc); 474 drc_end(hDecoder->drc);
477 475