shithub: libvpx

Download patch

ref: a3e1a9291afa9c4fc522bbf8e22588202a8a273f
parent: 112789d4f26ef7b8ec4cb216bfe79b59fbc4a022
author: James Zern <jzern@google.com>
date: Fri Oct 10 04:14:46 EDT 2014

vp9/choose_partitioning: add missing clear_system_state

set_vt_partitioning does double math

Change-Id: I8e9d73d5c89b937a5326abf04164d24d9d88c5ef

--- a/vp9/encoder/vp9_encodeframe.c
+++ b/vp9/encoder/vp9_encodeframe.c
@@ -453,6 +453,7 @@
   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);