]> rtime.felk.cvut.cz Git - frescor/ffmpeg.git/blobdiff - ffplay.c
Replace the calls to the deprecated av_alloc_format_context() with
[frescor/ffmpeg.git] / ffplay.c
index 946f4cd614f983ebe7aaa307f7c9c4bc54a65208..3a22c45a466af5deb9a7356113ff5aa5ea98d1e8 100644 (file)
--- a/ffplay.c
+++ b/ffplay.c
@@ -2554,7 +2554,7 @@ int main(int argc, char **argv)
     for(i=0; i<CODEC_TYPE_NB; i++){
         avctx_opts[i]= avcodec_alloc_context2(i);
     }
-    avformat_opts = av_alloc_format_context();
+    avformat_opts = avformat_alloc_context();
     sws_opts = sws_getContext(16,16,0, 16,16,0, sws_flags, NULL,NULL,NULL);
 
     show_banner();