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

alexc subversion at mplayerhq.hu
Thu Nov 26 22:52:57 CET 2009


Author: alexc
Date: Thu Nov 26 22:52:56 2009
New Revision: 5460

Log:
Pass the current spectrum_params to sbr_make_f_master.

Modified:
   aac-sbr/aacsbr.c

Modified: aac-sbr/aacsbr.c
==============================================================================
--- aac-sbr/aacsbr.c	Thu Nov 26 22:52:54 2009	(r5459)
+++ aac-sbr/aacsbr.c	Thu Nov 26 22:52:56 2009	(r5460)
@@ -779,7 +779,7 @@ static unsigned int sbr_data(AACContext 
 static void sbr_reset(AACContext *ac, SpectralBandReplication *sbr)
 {
     int err;
-    err = sbr_make_f_master(ac, sbr, sbr->spectrum_params);
+    err = sbr_make_f_master(ac, sbr, &sbr->spectrum_params[1]);
     if (err >= 0)
         err = sbr_make_f_derived(ac, sbr);
     sbr->reset = 0;


More information about the FFmpeg-soc mailing list