From: Jingning Han Date: Wed, 7 Jan 2015 19:49:07 +0000 (-0800) Subject: Format fix in vp9_pick_inter_mode_sub8x8 X-Git-Tag: v1.4.0~282^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c3fd9bbdafdb9a0df06b32ad538acb9825993a65;p=libvpx Format fix in vp9_pick_inter_mode_sub8x8 Replace ref_frame++ with ++ref_frame. Change-Id: Ic39793081156c314bf1b85d5ab76def97f3bff52 --- diff --git a/vp9/encoder/vp9_pickmode.c b/vp9/encoder/vp9_pickmode.c index cf1e9979e..926aca277 100644 --- a/vp9/encoder/vp9_pickmode.c +++ b/vp9/encoder/vp9_pickmode.c @@ -972,7 +972,7 @@ void vp9_pick_inter_mode_sub8x8(VP9_COMP *cpi, MACROBLOCK *x, x->skip_encode = sf->skip_encode_frame && x->q_index < QIDX_SKIP_THRESH; ctx->pred_pixel_ready = 0; - for (ref_frame = LAST_FRAME; ref_frame <= GOLDEN_FRAME; ref_frame++) { + for (ref_frame = LAST_FRAME; ref_frame <= GOLDEN_FRAME; ++ref_frame) { int_mv dummy_mv[2]; x->pred_mv_sad[ref_frame] = INT_MAX;