summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/mux/muxedit.c
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2021-11-20 10:47:00 +0100
committerGitHub <noreply@github.com>2021-11-20 10:47:00 +0100
commite97634f56d4910cf57e8aa4e4c570a71e99eb7ba (patch)
tree68614251db829a5b7aba94e09e99ac6efbc3d74a /thirdparty/libwebp/src/mux/muxedit.c
parentbd896bf91573f2a947f29b7fc8201d7ff09b7838 (diff)
parent41ce417847ab5eec58aa0a5e618da2ee076e3d67 (diff)
Merge pull request #55127 from akien-mga/libwebp-1.2.1
Diffstat (limited to 'thirdparty/libwebp/src/mux/muxedit.c')
-rw-r--r--thirdparty/libwebp/src/mux/muxedit.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/thirdparty/libwebp/src/mux/muxedit.c b/thirdparty/libwebp/src/mux/muxedit.c
index ccf14b2a0c..02c3edecd7 100644
--- a/thirdparty/libwebp/src/mux/muxedit.c
+++ b/thirdparty/libwebp/src/mux/muxedit.c
@@ -235,7 +235,6 @@ WebPMuxError WebPMuxSetImage(WebPMux* mux, const WebPData* bitstream,
WebPMuxImage wpi;
WebPMuxError err;
- // Sanity checks.
if (mux == NULL || bitstream == NULL || bitstream->bytes == NULL ||
bitstream->size > MAX_CHUNK_PAYLOAD) {
return WEBP_MUX_INVALID_ARGUMENT;
@@ -267,7 +266,6 @@ WebPMuxError WebPMuxPushFrame(WebPMux* mux, const WebPMuxFrameInfo* info,
WebPMuxImage wpi;
WebPMuxError err;
- // Sanity checks.
if (mux == NULL || info == NULL) return WEBP_MUX_INVALID_ARGUMENT;
if (info->id != WEBP_CHUNK_ANMF) return WEBP_MUX_INVALID_ARGUMENT;