summaryrefslogtreecommitdiff
path: root/libavformat/xmv.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/xmv.c')
-rw-r--r--libavformat/xmv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/xmv.c b/libavformat/xmv.c
index 4c2400bd85..9c47193beb 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -150,7 +150,7 @@ static int xmv_read_header(AVFormatContext *s,
/* Video track */
- vst = av_new_stream(s, 0);
+ vst = avformat_new_stream(s, NULL);
if (!vst)
return AVERROR(ENOMEM);