aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-25 12:22:50 +0000
committerGravatar reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-25 12:22:50 +0000
commit9e434fa014f57084f3593ae7410429f201c0244b (patch)
tree068ce71c5748cbf4b0029549928644fbeb5005f4
parent967aaee5e215159a41cea628856a6216a084c65d (diff)
Add a missing free of the avctx
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25528 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--libmpcodecs/vf_screenshot.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/vf_screenshot.c b/libmpcodecs/vf_screenshot.c
index 6c86d0dd79..88cc8a6323 100644
--- a/libmpcodecs/vf_screenshot.c
+++ b/libmpcodecs/vf_screenshot.c
@@ -290,6 +290,7 @@ static int screenshot_open(vf_instance_t *vf, char* args)
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);