summaryrefslogtreecommitdiff
path: root/libavformat/rl2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rl2.c')
-rw-r--r--libavformat/rl2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rl2.c b/libavformat/rl2.c
index 077da4cb0e..69e8be2e57 100644
--- a/libavformat/rl2.c
+++ b/libavformat/rl2.c
@@ -127,7 +127,7 @@ static av_cold int rl2_read_header(AVFormatContext *s)
if(signature == RLV3_TAG && back_size > 0)
st->codecpar->extradata_size += back_size;
- if(ff_get_extradata(st->codecpar, pb, st->codecpar->extradata_size) < 0)
+ if(ff_get_extradata(s, st->codecpar, pb, st->codecpar->extradata_size) < 0)
return AVERROR(ENOMEM);
/** setup audio stream if present */