diff options
Diffstat (limited to 'apps/codecs/libfaad/specrec.c')
-rw-r--r-- | apps/codecs/libfaad/specrec.c | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/apps/codecs/libfaad/specrec.c b/apps/codecs/libfaad/specrec.c index fc1beb7e04..87470f54f4 100644 --- a/apps/codecs/libfaad/specrec.c +++ b/apps/codecs/libfaad/specrec.c | |||
@@ -958,8 +958,7 @@ uint8_t reconstruct_single_channel(NeAACDecHandle hDecoder, ic_stream *ics, | |||
958 | if (hDecoder->object_type != SSR) | 958 | if (hDecoder->object_type != SSR) |
959 | { | 959 | { |
960 | #endif | 960 | #endif |
961 | ifilter_bank(hDecoder->fb, ics->window_sequence, ics->window_shape, | 961 | ifilter_bank(ics->window_sequence,spec_coef, |
962 | hDecoder->window_shape_prev[sce->channel], spec_coef, | ||
963 | hDecoder->time_out[sce->channel], hDecoder->fb_intermed[sce->channel], | 962 | hDecoder->time_out[sce->channel], hDecoder->fb_intermed[sce->channel], |
964 | hDecoder->object_type, hDecoder->frameLength); | 963 | hDecoder->object_type, hDecoder->frameLength); |
965 | #ifdef SSR_DEC | 964 | #ifdef SSR_DEC |
@@ -1197,12 +1196,10 @@ uint8_t reconstruct_channel_pair(NeAACDecHandle hDecoder, ic_stream *ics1, ic_st | |||
1197 | if (hDecoder->object_type != SSR) | 1196 | if (hDecoder->object_type != SSR) |
1198 | { | 1197 | { |
1199 | #endif | 1198 | #endif |
1200 | ifilter_bank(hDecoder->fb, ics1->window_sequence, ics1->window_shape, | 1199 | ifilter_bank(ics1->window_sequence, spec_coef1, |
1201 | hDecoder->window_shape_prev[cpe->channel], spec_coef1, | ||
1202 | hDecoder->time_out[cpe->channel], hDecoder->fb_intermed[cpe->channel], | 1200 | hDecoder->time_out[cpe->channel], hDecoder->fb_intermed[cpe->channel], |
1203 | hDecoder->object_type, hDecoder->frameLength); | 1201 | hDecoder->object_type, hDecoder->frameLength); |
1204 | ifilter_bank(hDecoder->fb, ics2->window_sequence, ics2->window_shape, | 1202 | ifilter_bank(ics2->window_sequence,spec_coef2, |
1205 | hDecoder->window_shape_prev[cpe->paired_channel], spec_coef2, | ||
1206 | hDecoder->time_out[cpe->paired_channel], hDecoder->fb_intermed[cpe->paired_channel], | 1203 | hDecoder->time_out[cpe->paired_channel], hDecoder->fb_intermed[cpe->paired_channel], |
1207 | hDecoder->object_type, hDecoder->frameLength); | 1204 | hDecoder->object_type, hDecoder->frameLength); |
1208 | #ifdef SSR_DEC | 1205 | #ifdef SSR_DEC |