summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJingning Han <jingning@google.com>2018-09-27 10:49:44 -0700
committerJingning Han <jingning@google.com>2018-09-27 10:50:28 -0700
commit6d082201f1dba88af20f9c050aaf2166c92dc6b5 (patch)
treeda32419e2fe328959f794eea723faaaab44f1b17
parent3448987ab20aa05716ffc4aedf6d02e23f75920b (diff)
downloadlibvpx-6d082201f1dba88af20f9c050aaf2166c92dc6b5.tar
libvpx-6d082201f1dba88af20f9c050aaf2166c92dc6b5.tar.gz
libvpx-6d082201f1dba88af20f9c050aaf2166c92dc6b5.tar.bz2
libvpx-6d082201f1dba88af20f9c050aaf2166c92dc6b5.zip
Remove unused for-loop in multi-layer arf bit allocation
The for-loop is not taking effect any more. Change-Id: Ief2763990a6d4f487a5eb4972012d86379573d55
-rw-r--r--vp9/encoder/vp9_firstpass.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c
index 38e98cd1e..985c2fa2e 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;
}