diff utils.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 6957efa06a1b
children 14797a347fcb
line wrap: on
line diff
--- 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) {