ref: 166d8142ac5a68a5e5a8646029c8beb796b3b99c
parent: 9aa16eecd0f9c8071bd2d9791d9940191f345ee2
parent: 3817c7c732367dbddf7e3942074d5e2f91cc2e0f
author: Marco Paniconi <[email protected]>
date: Mon Jan 6 11:35:52 EST 2014
Merge "Code cleanup: remove unneeded lines."
--- a/vp9/encoder/vp9_ratectrl.c
+++ b/vp9/encoder/vp9_ratectrl.c
@@ -374,8 +374,6 @@
/ one_percent_bits);
if (percent_low > cpi->oxcf.under_shoot_pct) {
percent_low = cpi->oxcf.under_shoot_pct;
- } else if (percent_low < 0) {
- percent_low = 0;
}
// Lower the target bandwidth for this frame.
this_frame_target -= (this_frame_target * percent_low) / 200;
@@ -384,8 +382,6 @@
/ one_percent_bits);
if (percent_high > cpi->oxcf.over_shoot_pct) {
percent_high = cpi->oxcf.over_shoot_pct;
- } else if (percent_high < 0) {
- percent_high = 0;
}
// Increase the target bandwidth for this frame.
this_frame_target += (this_frame_target * percent_high) / 200;