summaryrefslogtreecommitdiff
path: root/thirdparty/libwebp/src/demux
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-08-23 16:47:48 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-08-23 19:05:53 +0200
commite5e34f21fc36c8a162bb46e845bb3465cd434150 (patch)
tree604818f4a22ad5ab35c8defba0baedad40d203ed /thirdparty/libwebp/src/demux
parente95872eb7f4e94f8daac565d67020bb2260e92bd (diff)
libwebp: Sync with upstream 1.2.4
Changes: https://chromium.googlesource.com/webm/libwebp/+/1.2.4/NEWS
Diffstat (limited to 'thirdparty/libwebp/src/demux')
-rw-r--r--thirdparty/libwebp/src/demux/demux.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/thirdparty/libwebp/src/demux/demux.c b/thirdparty/libwebp/src/demux/demux.c
index f04a2b8450..41387ec2d6 100644
--- a/thirdparty/libwebp/src/demux/demux.c
+++ b/thirdparty/libwebp/src/demux/demux.c
@@ -25,7 +25,7 @@
#define DMUX_MAJ_VERSION 1
#define DMUX_MIN_VERSION 2
-#define DMUX_REV_VERSION 2
+#define DMUX_REV_VERSION 4
typedef struct {
size_t start_; // start location of the data
@@ -614,7 +614,6 @@ static int IsValidExtendedFormat(const WebPDemuxer* const dmux) {
while (f != NULL) {
const int cur_frame_set = f->frame_num_;
- int frame_count = 0;
// Check frame properties.
for (; f != NULL && f->frame_num_ == cur_frame_set; f = f->next_) {
@@ -649,8 +648,6 @@ static int IsValidExtendedFormat(const WebPDemuxer* const dmux) {
dmux->canvas_width_, dmux->canvas_height_)) {
return 0;
}
-
- ++frame_count;
}
}
return 1;