summaryrefslogtreecommitdiff
path: root/libavformat/rsd.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/rsd.c')
-rw-r--r--libavformat/rsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/rsd.c b/libavformat/rsd.c
index e02d767a01..ee6fdfbeb1 100644
--- a/libavformat/rsd.c
+++ b/libavformat/rsd.c
@@ -127,7 +127,7 @@ static int rsd_read_header(AVFormatContext *s)
start = avio_rl32(pb);
- if ((ret = ff_get_extradata(par, s->pb, 32)) < 0)
+ if ((ret = ff_get_extradata(s, par, s->pb, 32)) < 0)
return ret;
if (pb->seekable)
st->duration = av_get_audio_frame_duration2(par, avio_size(pb) - start);