shithub: libvpx

Download patch

ref: 57272e41dda5b575787df357455077eba45a79a1
parent: fe533c97413313a4e4c75ce1a1a6ec7451b5acc3
author: Guillaume Martres <gmartres@google.com>
date: Tue Sep 24 09:49:28 EDT 2013

Correctly set the segment_id prediction flag and context

This fix a bug introduced by ac6093d179d8488f90bf10c6d0abcc48be327d28

Change-Id: I0700a4daf7a6a2471074f81a4596352287fb2ac9

--- a/vp9/encoder/vp9_segmentation.c
+++ b/vp9/encoder/vp9_segmentation.c
@@ -130,6 +130,8 @@
     return;
 
   segment_id = mi_8x8[0]->mbmi.segment_id;
+  xd->mi_8x8 = mi_8x8;
+  xd->this_mi = mi_8x8[0];
 
   set_mi_row_col(cm, xd, mi_row, bh, mi_col, bw);