shithub: libvpx

Download patch

ref: 45ddaab89b618438ca9a2a2d927725ddacb38cd9
parent: e5cc24cc2e097ab569fca493e490a8e059993d26
parent: 319dd1c0f58d3db46713460ca10e920f2b18b605
author: Ronald S. Bultje <rbultje@google.com>
date: Thu Aug 16 07:33:10 EDT 2012

Merge "Set a default mv entropy if no tokens are coded." into experimental

--- a/vp8/common/entropymv.c
+++ b/vp8/common/entropymv.c
@@ -117,6 +117,8 @@
   if (tot) {
     const vp8_prob x = ((ct[0] * 255) / tot) & -(1 << (8 - pbits));
     *p = x ? x : 1;
+  } else {
+    *p = 128;
   }
 }