1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-16 03:24:07 +00:00
freebsd-ports/multimedia/jmref/files/patch-lencod_inc_global.h
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

12 lines
445 B
C

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