From d0540fd02171a6233d2016b199d013299debf7e3 Mon Sep 17 00:00:00 2001 From: Vittorio Giovara Date: Sat, 20 Feb 2016 01:09:40 -0500 Subject: intrax8: Pass macroblock size to ff_intrax8_common_init Helps in decoupling this code from mpegvideo. --- libavcodec/vc1dec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libavcodec/vc1dec.c') diff --git a/libavcodec/vc1dec.c b/libavcodec/vc1dec.c index 250d72ab14..d1a99d7a94 100644 --- a/libavcodec/vc1dec.c +++ b/libavcodec/vc1dec.c @@ -379,7 +379,9 @@ av_cold int ff_vc1_decode_init_alloc_tables(VC1Context *v) } } - ret = ff_intrax8_common_init(s->avctx, &v->x8, &s->idsp, s); + ret = ff_intrax8_common_init(s->avctx, &v->x8, &s->idsp, + s->mb_width, s->mb_height, + s); if (ret < 0) goto error; -- cgit v1.2.3