shithub: libvpx

Download patch

ref: e542627b0c5a5e5e121ccac3f9eff649d5e38f08
parent: c4aeff94b16a6f71d6bea91c442d8b94056d9a75
parent: f8b431c334f7c10a5c471ed17a3cc24e650d69c5
author: John Koleszar <jkoleszar@google.com>
date: Wed Dec 14 06:22:00 EST 2011

Merge "fix: active_worst_quality could be set above 127"

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -940,6 +940,8 @@
             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
--