From 6d082201f1dba88af20f9c050aaf2166c92dc6b5 Mon Sep 17 00:00:00 2001 From: Jingning Han Date: Thu, 27 Sep 2018 10:49:44 -0700 Subject: [PATCH] Remove unused for-loop in multi-layer arf bit allocation The for-loop is not taking effect any more. Change-Id: Ief2763990a6d4f487a5eb4972012d86379573d55 --- vp9/encoder/vp9_firstpass.c | 3 --- 1 file changed, 3 deletions(-) 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; } -- 2.7.4