diff options
-rw-r--r-- | vp9/encoder/vp9_firstpass.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vp9/encoder/vp9_firstpass.c b/vp9/encoder/vp9_firstpass.c index 8ddcc9da7..cda3b5d6d 100644 --- a/vp9/encoder/vp9_firstpass.c +++ b/vp9/encoder/vp9_firstpass.c @@ -1963,7 +1963,7 @@ static void define_gf_group(VP9_COMP *cpi, FIRSTPASS_STATS *this_frame) { (cpi->baseline_gf_interval * 100) + (boost - 100); // Prevent overflow - if (boost > 1028) { // TODO(agrange) Should this be 1024? + if (boost > 1023) { int divisor = boost >> 10; boost /= divisor; allocation_chunks /= divisor; |