git.asbjorn.biz
/
swftools.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6636b00
)
changed datalens to zlib datatype
author
kramm
<kramm>
Fri, 27 Jul 2007 19:56:52 +0000
(19:56 +0000)
committer
kramm
<kramm>
Fri, 27 Jul 2007 19:56:52 +0000
(19:56 +0000)
lib/modules/swfbits.c
patch
|
blob
|
history
diff --git
a/lib/modules/swfbits.c
b/lib/modules/swfbits.c
index
1d9d412
..
80b151b
100644
(file)
--- a/
lib/modules/swfbits.c
+++ b/
lib/modules/swfbits.c
@@
-626,7
+626,7
@@
RGBA *swf_JPEG2TagToImage(TAG * tag, int *width, int *height)
#ifdef HAVE_ZLIB
if(offset) {
#ifdef HAVE_ZLIB
if(offset) {
- U32 datalen = cinfo.output_width*cinfo.output_height;
+ uLongf datalen = cinfo.output_width*cinfo.output_height;
U8* alphadata = (U8*)rfx_alloc(datalen);
int error;
tag->len = oldtaglen;
U8* alphadata = (U8*)rfx_alloc(datalen);
int error;
tag->len = oldtaglen;
@@
-915,7
+915,7
@@
void swf_SetLosslessImage(TAG*tag, RGBA*data, int width, int height)
RGBA *swf_DefineLosslessBitsTagToImage(TAG * tag, int *dwidth, int *dheight)
{
int id, format, height, width, pos;
RGBA *swf_DefineLosslessBitsTagToImage(TAG * tag, int *dwidth, int *dheight)
{
int id, format, height, width, pos;
- U32 datalen, datalen2;
+ uLongf datalen, datalen2;
int error;
int bpp = 1;
int cols = 0;
int error;
int bpp = 1;
int cols = 0;