shithub: libvpx

Download patch

ref: 565d0e6feb3f843ebdbd36cb6a441c397e65c7bb
parent: 3653fb473a66258c74d3a550e66c8c1e8f95368c
author: Attila Nagy <attilanagy@google.com>
date: Fri Feb 17 04:31:53 EST 2012

Remove redundant init of segment_counts in vp8_encode_frame

segment_counts was zero init twice in the beginning of vp8_encode_frame.

Change-Id: Ibc29f6896dabd9aab1d0993f3941cf6876022e70

--- a/vp8/encoder/encodeframe.c
+++ b/vp8/encoder/encodeframe.c
@@ -688,10 +688,8 @@
         xd->subpixel_predict16x16   = vp8_bilinear_predict16x16;
     }
 
-    // Reset frame count of inter 0,0 motion vector useage.
+    // Reset frame count of inter 0,0 motion vector usage.
     cpi->inter_zz_count = 0;
-
-    vpx_memset(segment_counts, 0, sizeof(segment_counts));
 
     cpi->prediction_error = 0;
     cpi->intra_error = 0;