Discard std/gif's compressed buffer after decode

This commit is contained in:
Nigel Tao committed 2018-12-22 13:19:33 +11:00
1 parent 529ebb0a61
commit 0f27e97e28
2 files changed
+5

No files matched your search

+3
View File
@@ -685,6 +685,9 @@ pri func decoder.decode_id_part1!??(dst ptr base.pixel_buffer, src base.io_reade
}
}
this.compressed_ri = 0
this.compressed_wi = 0
// TODO: check for "not enough pixel data".
}