From: John Koleszar Date: Mon, 11 Apr 2011 17:05:08 +0000 (-0400) Subject: Bugfix for error accumulator stats X-Git-Tag: v0.9.7~227^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e689a27d621745dea6693f084d83585609bb1e27;p=libvpx 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 --- diff --git a/vp8/encoder/pickinter.c b/vp8/encoder/pickinter.c index 0759e2d5b..a92bcef91 100644 --- a/vp8/encoder/pickinter.c +++ b/vp8/encoder/pickinter.c @@ -932,6 +932,7 @@ void vp8_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int re } x->e_mbd.mode_info_context->mbmi.mv.as_int = 0; + return; } diff --git a/vp8/encoder/rdopt.c b/vp8/encoder/rdopt.c index aa097b7f7..733585909 100644 --- a/vp8/encoder/rdopt.c +++ b/vp8/encoder/rdopt.c @@ -2479,6 +2479,7 @@ void vp8_rd_pick_inter_mode(VP8_COMP *cpi, MACROBLOCK *x, int recon_yoffset, int } x->e_mbd.mode_info_context->mbmi.mv.as_int = 0; + return; }