script: Set decompression length prior to calling decompressors

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=59224
Signed-off-by: Chris Wilson <chris@chris-wilson.co.uk>
This commit is contained in:
Chris Wilson 2013-01-14 03:27:11 +00:00
parent 6639c12310
commit 768b81b78e

View file

@ -2961,7 +2961,7 @@ _image_read_raw (csi_t *ctx,
len == src->datum.string->deflate)
{
csi_string_t *s = src->datum.string;
unsigned long out;
unsigned long out = s->deflate;
switch (s->method) {
default: