summarylogtreecommitdiffstats
path: root/ratecontrol.cpp.patch
diff options
context:
space:
mode:
Diffstat (limited to 'ratecontrol.cpp.patch')
-rw-r--r--ratecontrol.cpp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/ratecontrol.cpp.patch b/ratecontrol.cpp.patch
new file mode 100644
index 000000000000..5e7409209199
--- /dev/null
+++ b/ratecontrol.cpp.patch
@@ -0,0 +1,11 @@
+--- src/libbpg-0.9.7/x265/source/encoder/ratecontrol.cpp 2016-05-31 06:37:01.302675761 +0200
++++ old/libbpg-0.9.7/x265/source/encoder/ratecontrol.cpp 2016-05-15 11:06:19.000000000 +0200
+@@ -49,7 +49,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)\