diff libmpcodecs/vf_spp.c @ 34566:f3d53cd55376

Update deprecated avcodec_alloc_context()/avcodec_open() API calls
author siretart
date Mon, 06 Feb 2012 06:30:12 +0000
parents 30f5e5cd3676
children a28c4ba97171
line wrap: on
line diff
--- a/libmpcodecs/vf_spp.c	Sun Feb 05 21:20:51 2012 +0000
+++ b/libmpcodecs/vf_spp.c	Mon Feb 06 06:30:12 2012 +0000
@@ -578,7 +578,7 @@
 
     init_avcodec();
 
-    vf->priv->avctx= avcodec_alloc_context();
+    vf->priv->avctx= avcodec_alloc_context3(NULL);
     dsputil_init(&vf->priv->dsp, vf->priv->avctx);
 
     vf->priv->log2_count= 3;