]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mmf.c
udp: simplify 7a032cb97f743a651138d2da6214c79e0ce089dd
[ffmpeg] / libavformat / mmf.c
index 0f64b998da0d4b571821fcfffc2682b132686e2d..956f5672036358a4fbd341b40e89bd0acdaf3d04 100644 (file)
@@ -241,7 +241,7 @@ static int mmf_read_header(AVFormatContext *s,
     }
     mmf->data_size = size;
 
-    st = av_new_stream(s, 0);
+    st = avformat_new_stream(s, NULL);
     if (!st)
         return AVERROR(ENOMEM);