[MPlayer-cvslog] r18825 - trunk/libmpcodecs/vf_mcdeint.c

reimar subversion at mplayerhq.hu
Mon Jun 26 19:01:07 CEST 2006


Author: reimar
Date: Mon Jun 26 19:01:07 2006
New Revision: 18825

Modified:
   trunk/libmpcodecs/vf_mcdeint.c

Log:
Avoid crash in uninit-without-config case


Modified: trunk/libmpcodecs/vf_mcdeint.c
==============================================================================
--- trunk/libmpcodecs/vf_mcdeint.c	(original)
+++ trunk/libmpcodecs/vf_mcdeint.c	Mon Jun 26 19:01:07 2006
@@ -282,8 +282,10 @@
         vf->priv->src[i]= NULL;
     }
 #endif
+    if (vf->priv->avctx_enc) {
     avcodec_close(vf->priv->avctx_enc);
     av_freep(&vf->priv->avctx_enc);
+    }
 
     free(vf->priv->outbuf);
     free(vf->priv);



More information about the MPlayer-cvslog mailing list