summaryrefslogtreecommitdiff
path: root/libavformat/isom.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/isom.c
parent8e26bdd59bf559d00c7e60c53fff292de10139ff (diff)
downloadffmpeg-323b8c95e41094b90ed2a9bdd9a06d22d2f74856.tar.gz
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/isom.c')
-rw-r--r--libavformat/isom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/isom.c b/libavformat/isom.c
index d8a330c0b2..e1ce310b1d 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -482,7 +482,7 @@ int ff_mp4_read_dec_config_descr(AVFormatContext *fc, AVStream *st, AVIOContext
if (!len || (uint64_t)len > (1<<30))
return -1;
av_free(st->codecpar->extradata);
- if ((ret = ff_get_extradata(st->codecpar, pb, len)) < 0)
+ if ((ret = ff_get_extradata(fc, st->codecpar, pb, len)) < 0)
return ret;
if (st->codecpar->codec_id == AV_CODEC_ID_AAC) {
MPEG4AudioConfig cfg = {0};