shithub: libvpx

Download patch

ref: f295774d43d050c27f916e7dbbabc2a2ca9385cf
parent: 5b307886fb965a23d28509c7740a599c703fbd11
author: James Zern <jzern@google.com>
date: Fri Aug 9 12:15:08 EDT 2013

vp9_rd_pick_inter_mode_sb: fix uninitialized value

'skippable' can remain unset and negatively affect later decisions

address one aspect of issue #599

Change-Id: Iffdf0ac2e49ac481c27dc27c87fa546d4167bb28

--- a/vp9/encoder/vp9_rdopt.c
+++ b/vp9/encoder/vp9_rdopt.c
@@ -3306,7 +3306,7 @@
     int compmode_cost = 0;
     int rate2 = 0, rate_y = 0, rate_uv = 0;
     int64_t distortion2 = 0, distortion_y = 0, distortion_uv = 0;
-    int skippable;
+    int skippable = 0;
     int64_t tx_cache[TX_MODES];
     int i;
     int this_skip2 = 0;
--