Commit e542627b authored by John Koleszar's avatar John Koleszar Committed by Gerrit Code Review
Browse files

Merge "fix: active_worst_quality could be set above 127"

parents c4aeff94 f8b431c3
......@@ -940,6 +940,8 @@ static void calc_pframe_target_size(VP8_COMP *cpi)
if (cpi->active_worst_quality <= cpi->active_best_quality)
cpi->active_worst_quality = cpi->active_best_quality + 1;
if(cpi->active_worst_quality > 127)
cpi->active_worst_quality = 127;
}
// Unbuffered mode (eg. video conferencing)
else
......
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