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

reimar subversion at mplayerhq.hu
Sat Jan 28 14:22:57 CET 2012


Author: reimar
Date: Sat Jan 28 14:22:57 2012
New Revision: 34631

Log:
Switch to avcodec_alloc_context3.

Modified:
   trunk/libmpcodecs/vf_mcdeint.c

Modified: trunk/libmpcodecs/vf_mcdeint.c
==============================================================================
--- trunk/libmpcodecs/vf_mcdeint.c	Sat Jan 28 14:20:20 2012	(r34630)
+++ trunk/libmpcodecs/vf_mcdeint.c	Sat Jan 28 14:22:57 2012	(r34631)
@@ -197,7 +197,7 @@ static int config(struct vf_instance *vf
             vf->priv->src [i]= malloc(vf->priv->temp_stride[i]*h*sizeof(uint8_t));
 #endif
             avctx_enc=
-            vf->priv->avctx_enc= avcodec_alloc_context();
+            vf->priv->avctx_enc= avcodec_alloc_context3(enc);
             avctx_enc->width = width;
             avctx_enc->height = height;
             avctx_enc->time_base= (AVRational){1,25};  // meaningless


More information about the MPlayer-cvslog mailing list