summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/webp
diff options
context:
space:
mode:
authorDeeJayLSP <djlsplays@gmail.com>2023-01-25 10:24:01 -0300
committerDeeJayLSP <djlsplays@gmail.com>2023-01-25 10:38:03 -0300
commitd8e8517d1174e8593338329a0535da178444817a (patch)
tree40cc35c11f5ae4813e8f9f8340f7771800704d03 /thirdparty/libwebp/src/webp
parent6369196b9698c92854bb4dba458ad0b099965d8f (diff)
libwebp: Sync with upstream 1.3.0
Diffstat (limited to 'thirdparty/libwebp/src/webp')
-rw-r--r--thirdparty/libwebp/src/webp/format_constants.h2
-rw-r--r--thirdparty/libwebp/src/webp/types.h6
2 files changed, 6 insertions, 2 deletions
diff --git a/thirdparty/libwebp/src/webp/format_constants.h b/thirdparty/libwebp/src/webp/format_constants.h
index eca6981a47..999035c5d2 100644
--- a/thirdparty/libwebp/src/webp/format_constants.h
+++ b/thirdparty/libwebp/src/webp/format_constants.h
@@ -55,7 +55,7 @@
typedef enum {
PREDICTOR_TRANSFORM = 0,
CROSS_COLOR_TRANSFORM = 1,
- SUBTRACT_GREEN = 2,
+ SUBTRACT_GREEN_TRANSFORM = 2,
COLOR_INDEXING_TRANSFORM = 3
} VP8LImageTransformType;
diff --git a/thirdparty/libwebp/src/webp/types.h b/thirdparty/libwebp/src/webp/types.h
index 47f7f2b007..f255432e41 100644
--- a/thirdparty/libwebp/src/webp/types.h
+++ b/thirdparty/libwebp/src/webp/types.h
@@ -42,7 +42,11 @@ typedef long long int int64_t;
# if defined(__GNUC__) && __GNUC__ >= 4
# define WEBP_EXTERN extern __attribute__ ((visibility ("default")))
# else
-# define WEBP_EXTERN extern
+# if defined(_MSC_VER) && defined(WEBP_DLL)
+# define WEBP_EXTERN __declspec(dllexport)
+# else
+# define WEBP_EXTERN extern
+# endif
# endif /* __GNUC__ >= 4 */
#endif /* WEBP_EXTERN */