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 9c47193beb..30e3b5ade9 100644
--- a/libavformat/xmv.c
+++ b/libavformat/xmv.c
@@ -211,7 +211,7 @@ static int xmv_read_header(AVFormatContext *s,
av_log(s, AV_LOG_WARNING, "Unsupported 5.1 ADPCM audio stream "
"(0x%04X)\n", track->flags);
- ast = av_new_stream(s, audio_track);
+ ast = avformat_new_stream(s, NULL);
if (!ast)
return AVERROR(ENOMEM);