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

andoma subversion at mplayerhq.hu
Thu Feb 28 16:18:59 CET 2008


Author: andoma
Date: Thu Feb 28 16:18:59 2008
New Revision: 1946

Log:
check return code from program_config_element_default()


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Thu Feb 28 16:18:59 2008
@@ -743,7 +743,8 @@ static int GASpecificConfig(AACContext *
         if(program_config_element(ac, gb) < 0)
             return -1;
     } else {
-        program_config_element_default(ac, channels);
+        if(program_config_element_default(ac, channels) < 0)
+            return -1;
     }
 
     if (ext) {



More information about the FFmpeg-soc mailing list