summaryrefslogtreecommitdiff
path: root/libavformat/iv8.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/iv8.c')
-rw-r--r--libavformat/iv8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/iv8.c b/libavformat/iv8.c
index bca31dcdd5..c1ddd0fdb7 100644
--- a/libavformat/iv8.c
+++ b/libavformat/iv8.c
@@ -40,7 +40,7 @@ static int read_header(AVFormatContext *s, AVFormatParameters *ap)
{
AVStream *st;
- st = av_new_stream(s, 0);
+ st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);