diff options
Diffstat (limited to 'libavformat/ivfdec.c')
-rw-r--r-- | libavformat/ivfdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ivfdec.c b/libavformat/ivfdec.c index 58455d02be..cc7687e4da 100644 --- a/libavformat/ivfdec.c +++ b/libavformat/ivfdec.c @@ -40,7 +40,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap) avio_rl16(s->pb); // version avio_rl16(s->pb); // header size - st = av_new_stream(s, 0); + st = avformat_new_stream(s, NULL); if (!st) return AVERROR(ENOMEM); |