Commit d767bebd authored by Yushin Cho's avatar Yushin Cho
Browse files

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,
daala_dec_init(cm, &twd->xd.daala_dec, &twd->bit_reader);
// Initialise the tile context from the frame context
twd->tctx = *cm->fc;
twd->xd.tile_ctx = &twd->tctx;
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