summaryrefslogtreecommitdiff
path: root/apps/codecs/libfaad/specrec.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libfaad/specrec.c')
-rw-r--r--apps/codecs/libfaad/specrec.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/apps/codecs/libfaad/specrec.c b/apps/codecs/libfaad/specrec.c
index de57c4b7ce..4998828eff 100644
--- a/apps/codecs/libfaad/specrec.c
+++ b/apps/codecs/libfaad/specrec.c
@@ -960,7 +960,8 @@ uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics,
960 if (hDecoder->object_type != SSR) 960 if (hDecoder->object_type != SSR)
961 { 961 {
962#endif 962#endif
963 ifilter_bank(ics->window_sequence,spec_coef, 963 ifilter_bank(ics->window_sequence,ics->window_shape,
964 hDecoder->window_shape_prev[sce->channel],spec_coef,
964 hDecoder->time_out[sce->channel], hDecoder->fb_intermed[sce->channel], 965 hDecoder->time_out[sce->channel], hDecoder->fb_intermed[sce->channel],
965 hDecoder->object_type, hDecoder->frameLength); 966 hDecoder->object_type, hDecoder->frameLength);
966#ifdef SSR_DEC 967#ifdef SSR_DEC
@@ -1198,10 +1199,12 @@ uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_st
1198 if (hDecoder->object_type != SSR) 1199 if (hDecoder->object_type != SSR)
1199 { 1200 {
1200#endif 1201#endif
1201 ifilter_bank(ics1->window_sequence, spec_coef1, 1202 ifilter_bank(ics1->window_sequence,ics1->window_shape,
1203 hDecoder->window_shape_prev[cpe->channel],spec_coef1,
1202 hDecoder->time_out[cpe->channel], hDecoder->fb_intermed[cpe->channel], 1204 hDecoder->time_out[cpe->channel], hDecoder->fb_intermed[cpe->channel],
1203 hDecoder->object_type, hDecoder->frameLength); 1205 hDecoder->object_type, hDecoder->frameLength);
1204 ifilter_bank(ics2->window_sequence,spec_coef2, 1206 ifilter_bank(ics2->window_sequence,ics2->window_shape,
1207 hDecoder->window_shape_prev[cpe->paired_channel], spec_coef2,
1205 hDecoder->time_out[cpe->paired_channel], hDecoder->fb_intermed[cpe->paired_channel], 1208 hDecoder->time_out[cpe->paired_channel], hDecoder->fb_intermed[cpe->paired_channel],
1206 hDecoder->object_type, hDecoder->frameLength); 1209 hDecoder->object_type, hDecoder->frameLength);
1207#ifdef SSR_DEC 1210#ifdef SSR_DEC