summaryrefslogtreecommitdiff
path: root/libavformat/oma.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/oma.c')
-rw-r--r--libavformat/oma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oma.c b/libavformat/oma.c
index 5ffe8fa9f0..da014689d0 100644
--- a/libavformat/oma.c
+++ b/libavformat/oma.c
@@ -307,7 +307,7 @@ static int oma_read_header(AVFormatContext *s,
codec_params = AV_RB24(&buf[33]);
- st = av_new_stream(s, 0);
+ st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);