From c5f93eb49f23bcba15bb0ef61544ac05963c57f0 Mon Sep 17 00:00:00 2001 From: Matthias Kramm Date: Fri, 6 Nov 2009 19:06:58 -0800 Subject: [PATCH] fixed swfextract for tiny images --- src/swfextract.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/swfextract.c b/src/swfextract.c index 4eeca60..2d6b357 100644 --- a/src/swfextract.c +++ b/src/swfextract.c @@ -829,7 +829,7 @@ void handlelossless(TAG*tag) } msg(" Uncompressed image is %d bytes (%d colormap)", datalen, (3+alpha)*cols); pos = 0; - datalen2 = datalen; + datalen2 = datalen+16; data2 = malloc(datalen2); palette = (RGBA*)malloc(cols*sizeof(RGBA)); -- 1.7.10.4