changeset 25500:1e8364740a86

Add a missing free of the avctx
author reimar
date Tue, 25 Dec 2007 12:22:50 +0000
parents 0846480d1a50
children 26a839637972
files libmpcodecs/vf_screenshot.c
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_screenshot.c	Tue Dec 25 09:01:51 2007 +0000
+++ b/libmpcodecs/vf_screenshot.c	Tue Dec 25 12:22:50 2007 +0000
@@ -290,6 +290,7 @@
 
 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);