Commit 3817c7c7 authored by Marco Paniconi's avatar Marco Paniconi
Browse files

Code cleanup: remove unneeded lines.

Change-Id: I44a89b822a436299b9dd4ff26ad2e35767c29c58
parent a224b0dd
......@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment