# HG changeset patch # User stefano # Date 1234081646 0 # Node ID 146d6083662b573173e75e9258ba73ec6e7d260d # Parent 61319d92bc360b7f5130ea12358a0de78fc7dce9 Replace the calls to the deprecated av_alloc_format_context() with corresponding calls to avformat_alloc_context(). diff -r 61319d92bc36 -r 146d6083662b mov.c --- a/mov.c Sun Feb 08 08:16:40 2009 +0000 +++ b/mov.c Sun Feb 08 08:27:26 2009 +0000 @@ -1009,7 +1009,7 @@ switch (st->codec->codec_id) { #if CONFIG_DV_DEMUXER case CODEC_ID_DVAUDIO: - c->dv_fctx = av_alloc_format_context(); + c->dv_fctx = avformat_alloc_context(); c->dv_demux = dv_init_demux(c->dv_fctx); if (!c->dv_demux) { av_log(c->fc, AV_LOG_ERROR, "dv demux context init error\n"); diff -r 61319d92bc36 -r 146d6083662b utils.c --- a/utils.c Sun Feb 08 08:16:40 2009 +0000 +++ b/utils.c Sun Feb 08 08:27:26 2009 +0000 @@ -413,7 +413,7 @@ } if(!ap->prealloced_context) - ic = av_alloc_format_context(); + ic = avformat_alloc_context(); else ic = *ic_ptr; if (!ic) {