diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-08 08:27:26 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2009-02-08 08:27:26 +0000 |
commit | 8e2fd8e1d424f3dda8b1966733a32c3842008896 (patch) | |
tree | d74f6902e7fb46134dd140744b5f25af9e557a1d /libavformat/mov.c | |
parent | 88a2896520f667461e7e9ef089d17954fe4ff1d2 (diff) | |
download | ffmpeg-8e2fd8e1d424f3dda8b1966733a32c3842008896.tar.gz |
Replace the calls to the deprecated av_alloc_format_context() with
corresponding calls to avformat_alloc_context().
Originally committed as revision 17048 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mov.c')
-rw-r--r-- | libavformat/mov.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c index a26ae43036..d4308fc008 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1009,7 +1009,7 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOVAtom atom) 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"); |