[FFmpeg-soc] [soc]: r1856 - aac/aac.c

andoma subversion at mplayerhq.hu
Thu Jan 31 15:21:06 CET 2008


Author: andoma
Date: Thu Jan 31 15:21:06 2008
New Revision: 1856

Log:
Parse GASpecificConfig() according to spec



Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Jan 31 15:21:06 2008
@@ -622,7 +622,11 @@ static int GASpecificConfig(AACContext *
     if (get_bits1(gb))       // dependsOnCoreCoder
         get_bits(gb, 14);    // coreCoderDelay
     ext = get_bits1(gb);
-    assert(ext == 0);
+
+    if(ac->audioObjectType == AOT_AAC_SCALABLE ||
+       ac->audioObjectType == AOT_ER_AAC_SCALABLE)
+        get_bits(gb, 3);     // layerNr
+
     if (ac->channels == 0)
         program_config_element(ac, gb);
     if (ext) {



More information about the FFmpeg-soc mailing list