freebsd-ports/multimedia/jmref/files/patch-lencod_src_configfile.c
Stefan Eßer eca93e998d 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).
2020-09-29 10:50:13 +00:00

13 lines
423 B
C

--- 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);