Add a missing free of the avctx

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25528 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2007-12-25 12:22:50 +00:00
parent 967aaee5e2
commit 9e434fa014
1 changed files with 1 additions and 0 deletions

View File

@ -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);