summaryrefslogtreecommitdiff
path: root/multimedia/jmref/files/patch-lencod_inc_global.h
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_inc_global.h
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_inc_global.h')
-rw-r--r--multimedia/jmref/files/patch-lencod_inc_global.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/multimedia/jmref/files/patch-lencod_inc_global.h b/multimedia/jmref/files/patch-lencod_inc_global.h
new file mode 100644
index 000000000000..2afb0738f829
--- /dev/null
+++ b/multimedia/jmref/files/patch-lencod_inc_global.h
@@ -0,0 +1,11 @@
+--- lencod/inc/global.h.orig 2015-06-19 11:50:52 UTC
++++ lencod/inc/global.h
+@@ -1606,7 +1606,7 @@ extern void make_frame_picture_JV( VideoParameters *p_
+
+
+
+-char errortext[ET_SIZE]; //!< buffer for error message for exit with error()
++extern char errortext[ET_SIZE]; //!< buffer for error message for exit with error()
+ extern void setup_coding_layer(VideoParameters *p_Vid);
+
+ static inline int is_FREXT_profile(unsigned int profile_idc)