shithub: aacdec

Download patch

ref: 516916a8cd0ae7c8bff45d91ec720ae2484e3fae
parent: adc10e7f04826f7e48121ebc4a2b75a6ead8c16a
author: menno <menno>
date: Tue Oct 14 12:56:26 EDT 2003

fix in function usage

--- a/libfaad/sbr_dec.c
+++ b/libfaad/sbr_dec.c
@@ -1,19 +1,19 @@
 /*
 ** FAAD2 - Freeware Advanced Audio (AAC) Decoder including SBR decoding
 ** Copyright (C) 2003 M. Bakker, Ahead Software AG, http://www.nero.com
-**  
+**
 ** This program is free software; you can redistribute it and/or modify
 ** it under the terms of the GNU General Public License as published by
 ** the Free Software Foundation; either version 2 of the License, or
 ** (at your option) any later version.
-** 
+**
 ** This program is distributed in the hope that it will be useful,
 ** but WITHOUT ANY WARRANTY; without even the implied warranty of
 ** MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 ** GNU General Public License for more details.
-** 
+**
 ** You should have received a copy of the GNU General Public License
-** along with this program; if not, write to the Free Software 
+** along with this program; if not, write to the Free Software
 ** Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 **
 ** Any non-GPL usage of this software or parts of this software is strictly
@@ -22,7 +22,7 @@
 ** Commercial non-GPL licensing of this software is possible.
 ** For more info contact Ahead Software through Mpeg4AAClicense@nero.com.
 **
-** $Id: sbr_dec.c,v 1.13 2003/10/09 20:04:25 menno Exp $
+** $Id: sbr_dec.c,v 1.14 2003/10/14 16:56:26 menno Exp $
 **/
 
 
@@ -43,7 +43,7 @@
 
 sbr_info *sbrDecodeInit(uint16_t framelength
 #ifdef DRM
-						, uint8_t IsDRM
+                        , uint8_t IsDRM
 #endif
                         )
 {
@@ -184,7 +184,7 @@
         /* initialise and read the bitstream */
         faad_initbits(ld, sbr->data, sbr->data_size);
 
-        ret = sbr_extension_data(ld, sbr, sbr->id_aac);
+        ret = sbr_extension_data(ld, sbr);
 
         ret = ld->error ? ld->error : ret;
         faad_endbits(ld);
@@ -219,7 +219,7 @@
             uint8_t j;
             sbr->qmfa[ch] = qmfa_init(32);
             sbr->qmfs[ch] = qmfs_init(64);
-            
+
             for (j = 0; j < 5; j++)
             {
                 sbr->G_temp_prev[ch][j] = malloc(64*sizeof(real_t));
@@ -301,8 +301,8 @@
                     xover_band = sbr->kx;
 
 #ifdef DRM
-				if (sbr->Is_DRM_SBR)
-					xover_band = sbr->kx;
+                if (sbr->Is_DRM_SBR)
+                    xover_band = sbr->kx;
 #endif
 
                 for (k = 0; k < xover_band; k++)