[MPlayer-cvslog] r35628 - trunk/libaf/af_export.c

upsuper subversion at mplayerhq.hu
Sun Dec 9 10:07:01 CET 2012


Author: upsuper
Date: Sun Dec  9 10:07:00 2012
New Revision: 35628

Log:
Remove two pointless conditions.

Modified:
   trunk/libaf/af_export.c

Modified: trunk/libaf/af_export.c
==============================================================================
--- trunk/libaf/af_export.c	Sun Dec  9 04:15:32 2012	(r35627)
+++ trunk/libaf/af_export.c	Sun Dec  9 10:07:00 2012	(r35628)
@@ -74,7 +74,6 @@ static int control(struct af_instance_s*
     int mapsize;
 
     // Free previous buffers
-    if (s->buf[0])
       free(s->buf[0]);
 
     // unmap previous area
@@ -183,7 +182,6 @@ static void uninit( struct af_instance_s
 
   if(af->setup){
     af_export_t* s = af->setup;
-    if (s->buf[0])
       free(s->buf[0]);
 
     // Free mmaped area


More information about the MPlayer-cvslog mailing list