shithub: libvpx

Download patch

ref: 6f41e29064cf402cefdcaa1843653dd78088db07
parent: 976f7f42c1ad1ff3cc0792572f9c4f41f05bb375
author: Marco <marpan@google.com>
date: Wed May 20 08:20:17 EDT 2015

vp8_drop_encodedframe_overshoot: fix to return setting.

Make sure force_maxqp is set to 0 for return 0.

Change-Id: Ie7c57842637226e932a390e7080e5ebb99996da3

--- a/vp8/encoder/ratectrl.c
+++ b/vp8/encoder/ratectrl.c
@@ -1601,7 +1601,9 @@
       cpi->force_maxqp = 0;
       return 0;
     }
+    cpi->force_maxqp = 0;
     return 0;
   }
+  cpi->force_maxqp = 0;
   return 0;
 }