]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/rtpenc_chain.c
ffplay: Avoid useage of deprecated url_fileno().
[ffmpeg] / libavformat / rtpenc_chain.c
index df7b9957b01a6fbf4c8d93594ff9ded8c3fb10e9..f4590faa089812c644142d9de16fa3026a6159e4 100644 (file)
@@ -43,7 +43,7 @@ AVFormatContext *ff_rtp_chain_mux_open(AVFormatContext *s, AVStream *st,
         return NULL;
 
     rtpctx->oformat = rtp_format;
-    if (!av_new_stream(rtpctx, 0)) {
+    if (!avformat_new_stream(rtpctx, NULL)) {
         av_free(rtpctx);
         return NULL;
     }