diff options
author | Marco Paniconi <marpan@google.com> | 2014-01-06 16:03:13 -0800 |
---|---|---|
committer | Marco Paniconi <marpan@google.com> | 2014-01-06 16:04:48 -0800 |
commit | 3817c7c732367dbddf7e3942074d5e2f91cc2e0f (patch) | |
tree | 2923469f9e66b6e5d64c2bacf9e29235d44b772e /vp9 | |
parent | a224b0ddeded644aaa316ffaaf5e5557002de933 (diff) | |
download | libvpx-3817c7c732367dbddf7e3942074d5e2f91cc2e0f.tar libvpx-3817c7c732367dbddf7e3942074d5e2f91cc2e0f.tar.gz libvpx-3817c7c732367dbddf7e3942074d5e2f91cc2e0f.tar.bz2 libvpx-3817c7c732367dbddf7e3942074d5e2f91cc2e0f.zip |
Code cleanup: remove unneeded lines.
Change-Id: I44a89b822a436299b9dd4ff26ad2e35767c29c58
Diffstat (limited to 'vp9')
-rw-r--r-- | vp9/encoder/vp9_ratectrl.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/vp9/encoder/vp9_ratectrl.c b/vp9/encoder/vp9_ratectrl.c index bae87b714..b90a7c3a3 100644 --- a/vp9/encoder/vp9_ratectrl.c +++ b/vp9/encoder/vp9_ratectrl.c @@ -374,8 +374,6 @@ static int target_size_from_buffer_level(const VP9_COMP *cpi) { / 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 @@ static int target_size_from_buffer_level(const VP9_COMP *cpi) { / 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; |