Have non-animated image decoders give EOD earlier

This commit is contained in:
Nigel Tao committed 2020-12-19 22:03:22 +11:00
1 parent 4a8acf968b
commit 9399c82409
5 files changed
+7 -457

No files matched your search

-4
View File
@@ -122,10 +122,6 @@ test_wuffs_bmp_decode_frame_config() {
RETURN_FAIL("decode_frame_config #1: have \"%s\", want \"%s\"", status.repr,
wuffs_base__note__end_of_data);
}
if (src.meta.ri != src.meta.wi) {
RETURN_FAIL("at end of data: ri (%zu) doesn't equal wi (%zu)", src.meta.ri,
src.meta.wi);
}
return NULL;
}
-4
View File
@@ -307,10 +307,6 @@ test_wuffs_wbmp_decode_frame_config() {
RETURN_FAIL("decode_frame_config #1: have \"%s\", want \"%s\"", status.repr,
wuffs_base__note__end_of_data);
}
if (src.meta.ri != src.meta.wi) {
RETURN_FAIL("at end of data: ri (%zu) doesn't equal wi (%zu)", src.meta.ri,
src.meta.wi);
}
return NULL;
}