[MPlayer-cvslog] r25528 - trunk/libmpcodecs/vf_screenshot.c

reimar subversion at mplayerhq.hu
Tue Dec 25 13:22:51 CET 2007


Author: reimar
Date: Tue Dec 25 13:22:50 2007
New Revision: 25528

Log:
Add a missing free of the avctx


Modified:
   trunk/libmpcodecs/vf_screenshot.c

Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c	(original)
+++ trunk/libmpcodecs/vf_screenshot.c	Tue Dec 25 13:22:50 2007
@@ -290,6 +290,7 @@ static int screenshot_open(vf_instance_t
 
 static void uninit(vf_instance_t *vf)
 {
+    av_freep(&vf->priv->avctx);
     if(vf->priv->ctx) sws_freeContext(vf->priv->ctx);
     if (vf->priv->buffer) free(vf->priv->buffer);
     free(vf->priv->outbuffer);



More information about the MPlayer-cvslog mailing list