summaryrefslogtreecommitdiff
path: root/libavdevice/sndio_dec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/sndio_dec.c')
-rw-r--r--libavdevice/sndio_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/sndio_dec.c b/libavdevice/sndio_dec.c
index 629a88dfd4..ca11661f09 100644
--- a/libavdevice/sndio_dec.c
+++ b/libavdevice/sndio_dec.c
@@ -34,7 +34,7 @@ static av_cold int audio_read_header(AVFormatContext *s1,
AVStream *st;
int ret;
- st = av_new_stream(s1, 0);
+ st = avformat_new_stream(s1, NULL);
if (!st)
return AVERROR(ENOMEM);