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