[FFmpeg-soc] [soc]: r5491 - aac-sbr/aacsbr.c

alexc subversion at mplayerhq.hu
Fri Dec 4 23:44:51 CET 2009


Author: alexc
Date: Fri Dec  4 23:44:51 2009
New Revision: 5491

Log:
10l: CPEs can use SBR bs_coupling not CCEs.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Fri Dec  4 23:44:49 2009	(r5490)
+++ aac-sbr/aacsbr.c	Fri Dec  4 23:44:51 2009	(r5491)
@@ -979,7 +979,7 @@ static void sbr_dequant(SpectralBandRepl
     int k, l;
     float alpha = sbr->data[ch].bs_amp_res ? 1.0f : 0.5f;
 
-    if (id_aac == TYPE_CCE && sbr->bs_coupling) {
+    if (id_aac == TYPE_CPE && sbr->bs_coupling) {
         float pan_offset = sbr->data[ch].bs_amp_res ? 12.0f : 24.0f;
         for (l = 1; l <= sbr->data[ch].bs_num_env[1]; l++) {
             for (k = 0; k < sbr->n[sbr->data[ch].bs_freq_res[l + 1]]; k++) {


More information about the FFmpeg-soc mailing list