[FFmpeg-soc] [soc]: r5467 - aac-sbr/aacsbr.c
alexc
subversion at mplayerhq.hu
Sat Nov 28 03:31:15 CET 2009
Author: alexc
Date: Sat Nov 28 03:31:15 2009
New Revision: 5467
Log:
Copy grid and inverse filtering information from the left channel to the right
in the case of SBR coupling.
Modified:
aac-sbr/aacsbr.c
Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c Sat Nov 28 03:31:13 2009 (r5466)
+++ aac-sbr/aacsbr.c Sat Nov 28 03:31:15 2009 (r5467)
@@ -719,9 +719,11 @@ static void sbr_channel_pair_element(AAC
if ((sbr->bs_coupling = get_bits1(gb))) {
sbr_grid(ac, sbr, gb, &sbr->data[0]);
+ memcpy(&sbr->data[1], &sbr->data[0], sizeof(sbr->data[1]));
sbr_dtdf(sbr, gb, &sbr->data[0]);
sbr_dtdf(sbr, gb, &sbr->data[1]);
sbr_invf(sbr, gb, &sbr->data[0]);
+ memcpy(sbr->data[1].bs_invf_mode, sbr->data[0].bs_invf_mode, sizeof(sbr->data[1].bs_invf_mode));
sbr_envelope(sbr, gb, &sbr->data[0], 0);
sbr_noise(sbr, gb, &sbr->data[0], 0);
sbr_envelope(sbr, gb, &sbr->data[1], 1);
More information about the FFmpeg-soc
mailing list