summaryrefslogtreecommitdiff
path: root/vp9/encoder/vp9_segmentation.c
diff options
context:
space:
mode:
authorGuillaume Martres <gmartres@google.com>2013-09-24 13:49:28 -0700
committerGuillaume Martres <gmartres@google.com>2013-09-24 14:18:27 -0700
commit57272e41dda5b575787df357455077eba45a79a1 (patch)
tree647ca4dc9ecd744f874c7cb36005ed40e6546977 /vp9/encoder/vp9_segmentation.c
parentfe533c97413313a4e4c75ce1a1a6ec7451b5acc3 (diff)
downloadlibvpx-57272e41dda5b575787df357455077eba45a79a1.tar
libvpx-57272e41dda5b575787df357455077eba45a79a1.tar.gz
libvpx-57272e41dda5b575787df357455077eba45a79a1.tar.bz2
libvpx-57272e41dda5b575787df357455077eba45a79a1.zip
Correctly set the segment_id prediction flag and context
This fix a bug introduced by ac6093d179d8488f90bf10c6d0abcc48be327d28 Change-Id: I0700a4daf7a6a2471074f81a4596352287fb2ac9
Diffstat (limited to 'vp9/encoder/vp9_segmentation.c')
-rw-r--r--vp9/encoder/vp9_segmentation.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/vp9/encoder/vp9_segmentation.c b/vp9/encoder/vp9_segmentation.c
index 10655e8a7..874b71ab1 100644
--- a/vp9/encoder/vp9_segmentation.c
+++ b/vp9/encoder/vp9_segmentation.c
@@ -130,6 +130,8 @@ static void count_segs(VP9_COMP *cpi, MODE_INFO **mi_8x8,
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);