[MPlayer-cvslog] r30185 - trunk/libmpcodecs/vf_screenshot.c
reimar
subversion at mplayerhq.hu
Sun Jan 3 16:56:33 CET 2010
Author: reimar
Date: Sun Jan 3 16:56:33 2010
New Revision: 30185
Log:
Add missing avcodec_close to vf_screenshot.
Modified:
trunk/libmpcodecs/vf_screenshot.c
Modified: trunk/libmpcodecs/vf_screenshot.c
==============================================================================
--- trunk/libmpcodecs/vf_screenshot.c Sun Jan 3 16:20:07 2010 (r30184)
+++ trunk/libmpcodecs/vf_screenshot.c Sun Jan 3 16:56:33 2010 (r30185)
@@ -256,6 +256,7 @@ static int query_format(struct vf_instan
static void uninit(vf_instance_t *vf)
{
+ avcodec_close(vf->priv->avctx);
av_freep(&vf->priv->avctx);
if(vf->priv->ctx) sws_freeContext(vf->priv->ctx);
if (vf->priv->buffer) free(vf->priv->buffer);
More information about the MPlayer-cvslog
mailing list