Commit b3ade15a authored by Adrian Grange's avatar Adrian Grange
Browse files

Fixed stride bug in segmentation code

mode_info_context is padded with an additional column of data, so
mode_info_stride should be used to move between rows rather than
mb_cols.

Change-Id: I598559a2cd9df1c486d64aaeccf76b76a7ecf21c
parent ae63ce24
......@@ -237,7 +237,7 @@ void choose_segmap_coding_method( VP8_COMP *cpi )
if (mb_row != 0)
{
pred_context +=
(xd->mode_info_context-cm->mb_cols)->
(xd->mode_info_context-cm->mode_info_stride)->
mbmi.seg_id_predicted;
}
......
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