[MPlayer-cvslog] r33225 - trunk/gui/util/bitmap.c
    ib 
    subversion at mplayerhq.hu
       
    Tue Apr  5 15:49:22 CEST 2011
    
    
  
Author: ib
Date: Tue Apr  5 15:49:22 2011
New Revision: 33225
Log:
Replace av_freep by av_free
The local variables are no longer used, so freeing them will do.
Modified:
   trunk/gui/util/bitmap.c
Modified: trunk/gui/util/bitmap.c
==============================================================================
--- trunk/gui/util/bitmap.c	Tue Apr  5 15:44:02 2011	(r33224)
+++ trunk/gui/util/bitmap.c	Tue Apr  5 15:49:22 2011	(r33225)
@@ -118,9 +118,9 @@ static int pngRead(unsigned char *fname,
     }
 
     avcodec_close(avctx);
-    av_freep(&frame);
-    av_freep(&avctx);
-    av_freep(&data);
+    av_free(frame);
+    av_free(avctx);
+    av_free(data);
 
     return !(decode_ok && bf->BPP);
 }
    
    
More information about the MPlayer-cvslog
mailing list