X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fmicrodvddec.c;h=4c56a7f503aedad9a5389463ef975485892bc2bb;hb=c12e1bd1bc7f0dd0dae2937d7f8c564e887c84ff;hp=95c76afc8d864d714cbb051664948ae7b53e5b1b;hpb=41f55277fafeec4f1b3202967bd0ab120948dd69;p=ffmpeg diff --git a/libavformat/microdvddec.c b/libavformat/microdvddec.c index 95c76afc8d8..4c56a7f503a 100644 --- a/libavformat/microdvddec.c +++ b/libavformat/microdvddec.c @@ -54,7 +54,7 @@ static int microdvd_read_header(AVFormatContext *s, AVFormatParameters *ap) { AVRational pts_info = (AVRational){ 2997, 125 }; /* default: 23.976 fps */ MicroDVDContext *microdvd = s->priv_data; - AVStream *st = av_new_stream(s, 0); + AVStream *st = avformat_new_stream(s, NULL); int i, frame; double fps; char c;