The previous value was set off by 1. Use the correct value.
Change-Id: I1ce53cc99063ce31e7ab1c43c6e444cb9a1972db
key_frame = cpi->common.frame_type == KEY_FRAME;
gf_group->frame_start = cpi->common.current_video_frame;
- gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval - 1;
+ gf_group->frame_end = gf_group->frame_start + rc->baseline_gf_interval;
// For key frames the frame target rate is already set and it
// is also the golden frame.