diff options
author | Paul B Mahol <onemda@gmail.com> | 2016-04-14 18:21:08 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2016-04-14 18:21:08 +0200 |
commit | 323b8c95e41094b90ed2a9bdd9a06d22d2f74856 (patch) | |
tree | d0bb264c76b926aa306f9668adfa79361d8a56db /libavformat/vc1test.c | |
parent | 8e26bdd59bf559d00c7e60c53fff292de10139ff (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/vc1test.c')
-rw-r--r-- | libavformat/vc1test.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c index 1414426d02..a801f4bd22 100644 --- a/libavformat/vc1test.c +++ b/libavformat/vc1test.c @@ -61,7 +61,7 @@ static int vc1t_read_header(AVFormatContext *s) st->codecpar->codec_type = AVMEDIA_TYPE_VIDEO; st->codecpar->codec_id = AV_CODEC_ID_WMV3; - if (ff_get_extradata(st->codecpar, pb, VC1_EXTRADATA_SIZE) < 0) + if (ff_get_extradata(s, st->codecpar, pb, VC1_EXTRADATA_SIZE) < 0) return AVERROR(ENOMEM); st->codecpar->height = avio_rl32(pb); st->codecpar->width = avio_rl32(pb); |