Merge "Fix incorrect index test in GF group rate assignment."

This commit is contained in:
Yaowu Xu 2017-07-05 21:43:43 +00:00 committed by Gerrit Code Review
commit e3cafbc8df

View File

@ -2250,7 +2250,7 @@ static void allocate_gf_group_bits(VP9_COMP *cpi, int64_t gf_group_bits,
target_frame_size = (i == (normal_frames - 1))
? last_frame_bits
: (i == mid_frame_idx)
: (frame_index == mid_frame_idx)
? normal_frame_bits + last_frame_reduction
: normal_frame_bits;