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

superdump subversion at mplayerhq.hu
Wed Jul 30 17:37:41 CEST 2008


Author: superdump
Date: Wed Jul 30 17:37:41 2008
New Revision: 2930

Log:
Add missing error check


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Wed Jul 30 17:37:41 2008
@@ -2314,7 +2314,8 @@ static int aac_decode_frame(AVCodecConte
 
     if((err = spectral_to_sample(ac)))
         return err;
-    output_samples(avccontext, data, data_size);
+    if((err = output_samples(avccontext, data, data_size)))
+        return err;
 
     return buf_size;
 }



More information about the FFmpeg-soc mailing list