Fix decoder segmentation bug for temporal coding where the segment map
was first initialized on a key frame.
in vp8_kfread_modes() after reading the segment id it must be written to
the pbi->segmentation_map[] for use in temporal coding on subsequent frames.
Change-Id: I1489305efc376564e734a216f69c2844646ee3d3
{
vp8_reader *const bc = & pbi->bc;
const int mis = pbi->common.mode_info_stride;
+ int map_index = mb_row * pbi->common.mb_cols + mb_col;
+
{
MB_PREDICTION_MODE y_mode;
m->mbmi.segment_id = 0;
if (pbi->mb.update_mb_segmentation_map)
+ {
vp8_read_mb_segid(bc, &m->mbmi, &pbi->mb);
+ pbi->segmentation_map[map_index] = m->mbmi.segment_id;
+ }
//#if CONFIG_SEGFEATURES
if ( pbi->common.mb_no_coeff_skip &&