Commit d767bebd authored by Yushin Cho's avatar Yushin Cho

Fix the missing init for ec-adapt with parallel tile decoding

Initializing the tile context from the frame context
was missing in decode_tiles_mt().

Change-Id: I7758377cae85f5cc8adedc01a3086104c10d507b
parent 07b1d38f
......@@ -3841,6 +3841,11 @@ static const uint8_t *decode_tiles_mt(AV1Decoder *pbi, const uint8_t *data,
#if CONFIG_PVQ
daala_dec_init(cm, &twd->xd.daala_dec, &twd->bit_reader);
#endif
#if CONFIG_EC_ADAPT
// Initialise the tile context from the frame context
twd->tctx = *cm->fc;
twd->xd.tile_ctx = &twd->tctx;
#endif
#if CONFIG_PALETTE
twd->xd.plane[0].color_index_map = twd->color_index_map[0];
twd->xd.plane[1].color_index_map = twd->color_index_map[1];
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment