vp9/choose_partitioning: add missing clear_system_state
authorJames Zern <jzern@google.com>
Fri, 10 Oct 2014 15:14:46 +0000 (08:14 -0700)
committerJames Zern <jzern@google.com>
Fri, 10 Oct 2014 15:14:46 +0000 (08:14 -0700)
set_vt_partitioning does double math

Change-Id: I8e9d73d5c89b937a5326abf04164d24d9d88c5ef

vp9/encoder/vp9_encodeframe.c

index 6045038..ee62d72 100644 (file)
@@ -453,6 +453,7 @@ static void choose_partitioning(VP9_COMP *cpi,
   const YV12_BUFFER_CONFIG *yv12 = get_ref_frame_buffer(cpi, LAST_FRAME);
   const struct scale_factors *const sf = &cm->frame_refs[LAST_FRAME - 1].sf;
 
+  vp9_clear_system_state();
   vp9_zero(vt);
   set_offsets(cpi, tile, mi_row, mi_col, BLOCK_64X64);