]> granicus.if.org Git - libvpx/commitdiff
Cosmetic clean up in find_arf_order
authorJingning Han <jingning@google.com>
Wed, 7 Nov 2018 19:26:23 +0000 (11:26 -0800)
committerJingning Han <jingning@google.com>
Wed, 7 Nov 2018 19:26:23 +0000 (11:26 -0800)
Remove duplicate variable definition.

Change-Id: I476bb319078f1043116163ac7aeff28a4a3ab5e6

vp9/encoder/vp9_firstpass.c

index 8e8c8f7fa7bd4d6dfebd01028723e03f390086b4..a8b410f5ea5ec0097d438829b66eaf9d9e7b0c18 100644 (file)
@@ -2119,7 +2119,6 @@ static void find_arf_order(VP9_COMP *cpi, GF_GROUP *gf_group,
   // Process regular P frames
   if ((end - start < min_frame_interval) ||
       (depth > gf_group->allowed_max_layer_depth)) {
-    int idx;
     for (idx = start; idx < end; ++idx) {
       gf_group->update_type[*index_counter] = LF_UPDATE;
       gf_group->arf_src_offset[*index_counter] = 0;