summaryrefslogtreecommitdiff
path: root/multimedia/jmref/files/patch-lencod_src_configfile.c
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-29 10:50:13 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-29 10:50:13 +0000
commiteca93e998d854f8aa828d593a011ff623128e66c (patch)
tree509a1ad5ea53c4598f44d58e3a6c52eabb31d40d /multimedia/jmref/files/patch-lencod_src_configfile.c
parentsecurity/p5-Crypt-Perl: update 0.29 -> 0.34 (diff)
Fix build with -fno-common
While here add the ISO/IEC and ITU licenses and fix a compiler warning regarding a mis-compiled comparison (!a == b) --> (!(a == b)) to not compare !a with b (while !(a == b) was clearly intended).
Notes
Notes: svn path=/head/; revision=550492
Diffstat (limited to 'multimedia/jmref/files/patch-lencod_src_configfile.c')
-rw-r--r--multimedia/jmref/files/patch-lencod_src_configfile.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/jmref/files/patch-lencod_src_configfile.c b/multimedia/jmref/files/patch-lencod_src_configfile.c
new file mode 100644
index 000000000000..6aec025bb862
--- /dev/null
+++ b/multimedia/jmref/files/patch-lencod_src_configfile.c
@@ -0,0 +1,12 @@
+--- lencod/src/configfile.c.orig 2020-09-29 10:22:20 UTC
++++ lencod/src/configfile.c
+@@ -70,6 +70,9 @@
+ #include "img_io.h"
+ #include "ratectl.h"
+
++InputParameters cfgparams;
++char errortext[ET_SIZE];
++
+ static void PatchInp (VideoParameters *p_Vid, InputParameters *p_Inp);
+ static int TestEncoderParams (Mapping *Map, int bitdepth_qp_scale[3]);
+ static int DisplayEncoderParams (Mapping *Map);