mirror of
https://git.freebsd.org/ports.git
synced 2025-05-12 23:31: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).
22 lines
514 B
C
22 lines
514 B
C
--- ldecod/inc/defines.h.orig 2020-09-29 10:22:20 UTC
|
|
+++ ldecod/inc/defines.h
|
|
@@ -229,7 +229,7 @@ typedef enum {
|
|
} I8x8PredModes;
|
|
|
|
// Color components
|
|
-enum {
|
|
+typedef enum {
|
|
Y_COMP = 0, // Y Component
|
|
U_COMP = 1, // U Component
|
|
V_COMP = 2, // V Component
|
|
@@ -237,7 +237,9 @@ enum {
|
|
G_COMP = 4, // G Component
|
|
B_COMP = 5, // B Component
|
|
T_COMP = 6
|
|
-} ColorComponent;
|
|
+} ColorComponent_t;
|
|
+
|
|
+extern ColorComponent_t ColorComponent;
|
|
|
|
enum {
|
|
EOS = 1, //!< End Of Sequence
|