summaryrefslogtreecommitdiff
path: root/libavformat/ncdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ncdec.c')
-rw-r--r--libavformat/ncdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 8feda75214..5c2506e5c7 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -45,7 +45,7 @@ static int nc_probe(AVProbeData *probe_packet)
static int nc_read_header(AVFormatContext *s, AVFormatParameters *ap)
{
- AVStream *st = av_new_stream(s, 0);
+ AVStream *st = avformat_new_stream(s, NULL);
if (!st)
return AVERROR(ENOMEM);