Merge "Code cleanup: remove unneeded lines."

This commit is contained in:
Marco Paniconi 2014-01-06 16:35:52 -08:00 коммит произвёл Gerrit Code Review
Родитель 9aa16eecd0 3817c7c732
Коммит 166d8142ac
1 изменённых файлов: 0 добавлений и 4 удалений

Просмотреть файл

@ -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;