shithub: libvpx

Download patch

ref: 6d082201f1dba88af20f9c050aaf2166c92dc6b5
parent: 3448987ab20aa05716ffc4aedf6d02e23f75920b
author: Jingning Han <[email protected]>
date: Thu Sep 27 06:49:44 EDT 2018

Remove unused for-loop in multi-layer arf bit allocation

The for-loop is not taking effect any more.

Change-Id: Ief2763990a6d4f487a5eb4972012d86379573d55

--- a/vp9/encoder/vp9_firstpass.c
+++ b/vp9/encoder/vp9_firstpass.c
@@ -2383,9 +2383,6 @@
     }
     gf_group->bit_allocation[idx] = 0;
 
-    for (idx = 0; idx < gop_frames; ++idx)
-      if (gf_group->update_type[idx] == LF_UPDATE) break;
-
     return;
   }