Mercurial > libavformat.hg
changeset 4406:146d6083662b libavformat
Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().
author | stefano |
---|---|
date | Sun, 08 Feb 2009 08:27:26 +0000 |
parents | 61319d92bc36 |
children | b6b31de76359 |
files | mov.c utils.c |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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");