Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ivfdec.c')
-rw-r--r--libavformat/ivfdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ivfdec.c b/libavformat/ivfdec.c
index 9211881e53..52a370e652 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);