X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fyuv4mpeg.c;h=97d2261a93616152c99b8ba3c96382b86311fa44;hb=d0492578c805cfd41673aa2cdadf52efde40e307;hp=a7f55b414abef365d4d4e89a51d5366b86047bfd;hpb=f884ef00de362a5460a9c58318d009bcae440cc8;p=ffmpeg diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c index a7f55b414ab..97d2261a936 100644 --- a/libavformat/yuv4mpeg.c +++ b/libavformat/yuv4mpeg.c @@ -333,7 +333,7 @@ static int yuv4_read_header(AVFormatContext *s, AVFormatParameters *ap) aspectd = 1; } - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if(!st) return AVERROR(ENOMEM); st->codec->width = width;