changeset 34543:21caebba991b

Switch to avcodec_alloc_context3.
author reimar
date Sat, 28 Jan 2012 13:22:57 +0000
parents 814b6fcad4b3
children 36ef1a75aa48
files libmpcodecs/vf_mcdeint.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/libmpcodecs/vf_mcdeint.c	Sat Jan 28 13:20:20 2012 +0000
+++ b/libmpcodecs/vf_mcdeint.c	Sat Jan 28 13:22:57 2012 +0000
@@ -197,7 +197,7 @@
             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