summaryrefslogtreecommitdiffstats
path: root/thirdparty/libwebp/mux/muxinternal.c
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2016-12-28 23:17:42 +0100
committerGitHub <noreply@github.com>2016-12-28 23:17:42 +0100
commit86e428eea0b9ef5c1732af3a5c29b5c365fbf6e8 (patch)
tree847c3a15508aea33384ad9a93e915c268f379ce1 /thirdparty/libwebp/mux/muxinternal.c
parentc798ff15510997fdbe6848687804f5e2cb17eefb (diff)
parente04c7e11ec2fabf34aaf515103bc0b6086e1aabd (diff)
downloadredot-engine-86e428eea0b9ef5c1732af3a5c29b5c365fbf6e8.tar.gz
Merge pull request #7350 from volzhs/webp-0.5.2
Update libwebp to 0.5.2
Diffstat (limited to 'thirdparty/libwebp/mux/muxinternal.c')
-rw-r--r--thirdparty/libwebp/mux/muxinternal.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/thirdparty/libwebp/mux/muxinternal.c b/thirdparty/libwebp/mux/muxinternal.c
index 4babbe82fc..372c6a9674 100644
--- a/thirdparty/libwebp/mux/muxinternal.c
+++ b/thirdparty/libwebp/mux/muxinternal.c
@@ -16,7 +16,7 @@
#include "./muxi.h"
#include "../utils/utils.h"
-#define UNDEFINED_CHUNK_SIZE (-1)
+#define UNDEFINED_CHUNK_SIZE ((uint32_t)(-1))
const ChunkInfo kChunks[] = {
{ MKFOURCC('V', 'P', '8', 'X'), WEBP_CHUNK_VP8X, VP8X_CHUNK_SIZE },
@@ -439,7 +439,7 @@ static int IsNotCompatible(int feature, int num_items) {
return (feature != 0) != (num_items > 0);
}
-#define NO_FLAG 0
+#define NO_FLAG ((WebPFeatureFlags)0)
// Test basic constraints:
// retrieval, maximum number of chunks by index (use -1 to skip)