Mercurial > mplayer.hg
diff libmpcodecs/vf_mcdeint.c @ 34543:21caebba991b
Switch to avcodec_alloc_context3.
author | reimar |
---|---|
date | Sat, 28 Jan 2012 13:22:57 +0000 |
parents | 814b6fcad4b3 |
children | 8ef6e54892fa |
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