diff mov.c @ 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 530e55405feb
children b6b31de76359
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");