changeset 25833:ed27d1c01f93

in GASpecificConfig 1 bit (extensionflag3) wasn't being read and the comment was misplaced, too
author nicodvb
date Sat, 26 Jan 2008 18:21:44 +0000
parents 8601206c2ffc
children 69a4d646e55d
files libfaad2/syntax.c
diffstat 1 files changed, 3 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libfaad2/syntax.c	Sat Jan 26 16:19:42 2008 +0000
+++ b/libfaad2/syntax.c	Sat Jan 26 18:21:44 2008 +0000
@@ -49,6 +49,7 @@
 #ifdef SBR_DEC
 #include "sbr_syntax.h"
 #endif
+#include "mp4.h"
 
 
 /* static function declarations */
@@ -149,9 +150,9 @@
                 DEBUGVAR(1,145,"GASpecificConfig(): aacScalefactorDataResilienceFlag"));
             mp4ASC->aacSpectralDataResilienceFlag = faad_get1bit(ld
                 DEBUGVAR(1,146,"GASpecificConfig(): aacSpectralDataResilienceFlag"));
-
-            /* 1 bit: extensionFlag3 */
         }
+        /* 1 bit: extensionFlag3 */
+        faad_getbits(ld, 1);
     }
 #endif