X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavformat%2Fvc1test.c;h=ed721191888508f583b97fe096ee1d2974a616bc;hb=f955fdc7c6a8c651c9e67fb1f79d3f0b2f72df11;hp=5742155a253114311fdce2d2a0d25e14bac3fff4;hpb=ada49f936eaafe12365c7b962355d6dcfbfc4029;p=ffmpeg diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c index 5742155a253..ed721191888 100644 --- a/libavformat/vc1test.c +++ b/libavformat/vc1test.c @@ -54,7 +54,7 @@ static int vc1t_read_header(AVFormatContext *s, return -1; /* init video codec */ - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return -1;