shithub: openh264

Download patch

ref: 998d012ea7392631b4e2da19b2433706f3d64231
parent: dbe226b7cce8e2a0bc5e58f477b883e9af6b87d1
author: Haibo Zhu <haibozhu@cisco.com>
date: Thu Jun 19 14:46:19 EDT 2014

try

--- a/codec/console/enc/src/welsenc.cpp
+++ b/codec/console/enc/src/welsenc.cpp
@@ -459,12 +459,6 @@
     else if (!strcmp (pCommand, "-maxbrTotal") && (n < argc))
       pSvcParam.iMaxBitrate = 1000*atoi  (argv[n++]);
 
-    else if (!strcmp (pCommand, "-maxbrTotal") && (n < argc))
-      pSvcParam.iMaxBitrate = 1000 * atoi (argv[n++]);
-
-    else if (!strcmp (pCommand, "-maxbrTotal") && (n < argc))
-      pSvcParam.iMaxBitrate = 1000*atoi  (argv[n++]);
-
     else if (!strcmp (pCommand, "-numl") && (n < argc)) {
       pSvcParam.iSpatialLayerNum = atoi (argv[n++]);
     }