From: Jingning Han Date: Thu, 27 Sep 2018 17:49:44 +0000 (-0700) Subject: Remove unused for-loop in multi-layer arf bit allocation X-Git-Tag: v1.8.0~279^2~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=6d082201f1dba88af20f9c050aaf2166c92dc6b5;p=platform%2Fupstream%2Flibvpx.git Remove unused for-loop in multi-layer arf bit allocation The for-loop is not taking effect any more. Change-Id: Ief2763990a6d4f487a5eb4972012d86379573d55 --- diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c index 38e98cd..985c2fa 100644 --- a/vp9/encoder/vp9_firstpass.c +++ b/vp9/encoder/vp9_firstpass.c @@ -2383,9 +2383,6 @@ static void allocate_gf_group_bits(VP9_COMP *cpi, int64_t gf_group_bits, } gf_group->bit_allocation[idx] = 0; - for (idx = 0; idx < gop_frames; ++idx) - if (gf_group->update_type[idx] == LF_UPDATE) break; - return; }