mirror of
https://github.com/ddidderr/wuffs.git
synced 2026-11-21 00:47:28 +01:00
Add wuffs_gif__quirk_ignore_too_much_pixel_data
This commit is contained in:
1 parent
a1f777b16e
commit
24a2f12c30
3 files changed
+32
-8
No files matched your search
@@ -977,7 +977,8 @@ pri func decoder.copy_to_image_buffer!(pb ptr base.pixel_buffer, src slice base.
|
||||
while src_ri < args.src.length() {
|
||||
src = args.src[src_ri:]
|
||||
|
||||
if this.dst_y >= this.frame_rect_y1 {
|
||||
if (this.dst_y >= this.frame_rect_y1) and
|
||||
(not this.quirk_enabled_ignore_too_much_pixel_data) {
|
||||
return base."#too much data"
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user