summaryrefslogtreecommitdiff
path: root/libavformat/aiffdec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2016-04-14 18:21:08 +0200
committerPaul B Mahol <onemda@gmail.com>2016-04-14 18:21:08 +0200
commit323b8c95e41094b90ed2a9bdd9a06d22d2f74856 (patch)
treed0bb264c76b926aa306f9668adfa79361d8a56db /libavformat/aiffdec.c
parent8e26bdd59bf559d00c7e60c53fff292de10139ff (diff)
avformat: add AVFormatContext to ff_get_extradata()
Needed for av_log() inside that function. Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavformat/aiffdec.c')
-rw-r--r--libavformat/aiffdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c
index bb5299c06f..d191bc4c04 100644
--- a/libavformat/aiffdec.c
+++ b/libavformat/aiffdec.c
@@ -299,7 +299,7 @@ static int aiff_read_header(AVFormatContext *s)
case MKTAG('w', 'a', 'v', 'e'):
if ((uint64_t)size > (1<<30))
return -1;
- if (ff_get_extradata(st->codecpar, pb, size) < 0)
+ if (ff_get_extradata(s, st->codecpar, pb, size) < 0)
return AVERROR(ENOMEM);
if (st->codecpar->codec_id == AV_CODEC_ID_QDM2 && size>=12*4 && !st->codecpar->block_align) {
st->codecpar->block_align = AV_RB32(st->codecpar->extradata+11*4);