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

superdump subversion at mplayerhq.hu
Sun Jul 27 23:13:29 CEST 2008


Author: superdump
Date: Sun Jul 27 23:13:29 2008
New Revision: 2864

Log:
Simplify check to avoid redundant null pointer check


Modified:
   aac/aac.c

Modified: aac/aac.c
==============================================================================
--- aac/aac.c	(original)
+++ aac/aac.c	Sun Jul 27 23:13:29 2008
@@ -821,7 +821,7 @@ static av_cold int aac_decode_init(AVCod
 
     ac->avccontext = avccontext;
 
-    if (avccontext->extradata && avccontext->extradata_size &&
+    if (avccontext->extradata_size > 0 &&
         audio_specific_config(ac, avccontext->extradata, avccontext->extradata_size))
         return -1;
 



More information about the FFmpeg-soc mailing list