[x265] [PATCH] Fix pass 2 encode failure (Issue #524)

Niranjan Bala niranjan at multicorewareinc.com
Thu Nov 28 06:55:17 CET 2019


# HG changeset patch
# User Niranjan <niranjan at multicorewareinc.com>
# Date 1574665937 -19800
#      Mon Nov 25 12:42:17 2019 +0530
# Node ID 5707bcd3d1fdfd1243bafc83d836f9ce70671245
# Parent  04db2bfee5d628d931d1407355b909ac8ff1c898
Fix pass 2 encode failure (Issue #524)

diff -r 04db2bfee5d6 -r 5707bcd3d1fd source/encoder/ratecontrol.cpp
--- a/source/encoder/ratecontrol.cpp Thu Oct 31 16:23:27 2019 +0530
+++ b/source/encoder/ratecontrol.cpp Mon Nov 25 12:42:17 2019 +0530
@@ -53,7 +53,7 @@
 {\
     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)\
Thanks & Regards
*Niranjan Kumar B*
Video Codec Engineer
Media & AI Analytics
+91 958 511 1449
<https://multicorewareinc.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191128/266961e2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Fix_issue524.patch
Type: application/octet-stream
Size: 754 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/x265-devel/attachments/20191128/266961e2/attachment.obj>


More information about the x265-devel mailing list