changeset 12588:f0fe46ce379d

Fix pass 2 encode failure (Issue #524)
author Niranjan <niranjan@multicorewareinc.com>
date Mon, 25 Nov 2019 12:42:17 +0530
parents 4a29e0c5bfaf
children f8a38d6ef1eb
files source/encoder/ratecontrol.cpp
diffstat 1 files changed, 1 insertions(+-), 1 deletions(-) [+]
line wrap: on
line diff
--- a/source/encoder/ratecontrol.cpp	Fri Nov 08 15:30:50 2019 +0530
+++ b/source/encoder/ratecontrol.cpp	Mon Nov 25 12:42:17 2019 +0530
@@ -53,7 +53,7 @@ namespace {
 {\
     bErr = 0;\
     p = strstr(opts, opt "=");\
-    char* q = strstr(opts, "no-" opt);\
+    char* q = strstr(opts, "no-" opt " ");\
     if (p && sscanf(p, opt "=%d" , &i) && param_val != i)\
         bErr = 1;\
     else if (!param_val && !q && !p)\