summaryrefslogtreecommitdiff
path: root/libavformat/r3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/r3d.c')
-rw-r--r--libavformat/r3d.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/r3d.c b/libavformat/r3d.c
index 890b3b93c6..8e632c99f1 100644
--- a/libavformat/r3d.c
+++ b/libavformat/r3d.c
@@ -52,7 +52,7 @@ static int read_atom(AVFormatContext *s, Atom *atom)
static int r3d_read_red1(AVFormatContext *s)
{
- AVStream *st = av_new_stream(s, 0);
+ AVStream *st = avformat_new_stream(s, NULL);
char filename[258];
int tmp;
int av_unused tmp2;