mirror of
https://git.freebsd.org/ports.git
synced 2025-05-14 08:11:50 -04:00
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).
11 lines
394 B
C
11 lines
394 B
C
--- ldecod/src/ldecod.c.orig 2020-09-29 10:22:20 UTC
|
|
+++ ldecod/src/ldecod.c
|
|
@@ -77,7 +77,7 @@
|
|
// Decoder definition. This should be the only global variable in the entire
|
|
// software. Global variables should be avoided.
|
|
DecoderParams *p_Dec;
|
|
-char errortext[ET_SIZE];
|
|
+extern char errortext[ET_SIZE];
|
|
|
|
// Prototypes of static functions
|
|
static void Report (VideoParameters *p_Vid);
|