shithub: openh264

Download patch

ref: 1fd5e6e2105f1bf1eb139e9fc79b6e5c1d9fc5de
parent: 47430de2949283d2c34dd355d94334a0d07263e4
author: ruil2 <[email protected]>
date: Wed May 21 10:04:55 EDT 2014

update the minimum quant limiation as 10. quant 4 can't avoid overflow

--- a/codec/encoder/core/inc/rc.h
+++ b/codec/encoder/core/inc/rc.h
@@ -66,7 +66,7 @@
   VGOP_SIZE             = 8,
 
   //qp information
-  FIX_MIN_QP_MODE       = 4, //qp <4 will cause level code overflow in cavlc coding which isn't suppored in baseline profile
+  FIX_MIN_QP_MODE       = 10, //qp <10 will cause level code overflow in cavlc coding which isn't suppored in baseline profile
   FIX_MAX_QP_MODE       = 51,
   GOM_MIN_QP_MODE       = 12,
   GOM_MAX_QP_MODE       = 36,