X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmmf.c;h=956f5672036358a4fbd341b40e89bd0acdaf3d04;hb=b2bdca1b4a739992779f6641fcc122cffb240eb6;hp=0f64b998da0d4b571821fcfffc2682b132686e2d;hpb=124deea1a0ccc4296cc6021231a7e6fbf336ff3a;p=ffmpeg diff --git a/libavformat/mmf.c b/libavformat/mmf.c index 0f64b998da0..956f5672036 100644 --- a/libavformat/mmf.c +++ b/libavformat/mmf.c @@ -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);