]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - output_example.c
Replace the calls to the deprecated av_alloc_format_context() with
[frescor/ffmpeg.git] / output_example.c
index bd9b7c3f6ff2ad76ce283770567aba93225ee67f..612146dad0d0a462a03a864c1eee9c78ab59e712 100644 (file)
@@ -453,7 +453,7 @@ int main(int argc, char **argv)
     }
 
     /* allocate the output media context */
-    oc = av_alloc_format_context();
+    oc = avformat_alloc_context();
     if (!oc) {
         fprintf(stderr, "Memory error\n");
         exit(1);