Unified · Split
| @@ -2757,8 +2757,8 @@ static void define_gf_group(VP9_COMP *cpi, int gf_start_show_idx) { · 2756 unmodified lines | |||
| 2757 | // If the first frame is a key frame or the overlay from a previous arf then | 2757 | // If the first frame is a key frame or the overlay from a previous arf then |
| 2758 | // the error score / cost of this frame has already been accounted for. | 2758 | // the error score / cost of this frame has already been accounted for. |
| 2759 | int start_idx = arf_active_or_kf ? 1 : 0; | 2759 | int start_idx = arf_active_or_kf ? 1 : 0; |
| 2760 | int num_show_frames = i; | 2760 | int num_coding_frames = i; |
| 2761 | for (j = start_idx; j < num_show_frames; ++j) { | 2761 | for (j = start_idx; j < num_coding_frames; ++j) { |
| 2762 | int show_idx = gf_start_show_idx + j; | 2762 | int show_idx = gf_start_show_idx + j; |
| 2763 | const FIRSTPASS_STATS *frame_stats = | 2763 | const FIRSTPASS_STATS *frame_stats = |
| 2764 | fps_get_frame_stats(first_pass_info, show_idx); | 2764 | fps_get_frame_stats(first_pass_info, show_idx); |