shithub: libvpx

Download patch

ref: e689a27d621745dea6693f084d83585609bb1e27
parent: 921a32a30689ff1698df582598f99d48fe8f43c6
author: John Koleszar <jkoleszar@google.com>
date: Mon Apr 11 09:05:08 EDT 2011

Bugfix for error accumulator stats

Previous to commit de4e9e3, there was an early return in the alt-ref
case that was inadvertantly removed when the function was refactored
to return void. This patch restores the prior behavior.

Change-Id: I783ffd594a4690297e2742f99526fd7ad67698b2

--- a/vp8/encoder/pickinter.c
+++ b/vp8/encoder/pickinter.c
@@ -932,6 +932,7 @@
         }
 
         x->e_mbd.mode_info_context->mbmi.mv.as_int = 0;
+        return;
     }
 
 
--- a/vp8/encoder/rdopt.c
+++ b/vp8/encoder/rdopt.c
@@ -2479,6 +2479,7 @@
         }
 
         x->e_mbd.mode_info_context->mbmi.mv.as_int = 0;
+        return;
     }
 
 
--