Change gif workbuf_len worst case from 1 to 0

This commit is contained in:
Nigel Tao committed 2020-02-05 17:30:51 +11:00
1 parent 555e8eaaa3
commit 3fd6aca365
6 files changed
+13 -23

No files matched your search

-5
View File
@@ -288,11 +288,6 @@ const char* do_test_wuffs_gif_decode(const char* filename,
}
}
if (wuffs_gif__decoder__workbuf_len(&dec).min_incl != 1) {
RETURN_FAIL("workbuf_len: got %" PRIu64 ", want 1",
wuffs_gif__decoder__workbuf_len(&dec).min_incl);
}
int num_iters = 0;
while (true) {
num_iters++;