Ja compila en OSX
This commit is contained in:
Binary file not shown.
10
gif.c
10
gif.c
@@ -85,9 +85,9 @@ typedef struct
|
|||||||
}
|
}
|
||||||
plaintext_extension_t;
|
plaintext_extension_t;
|
||||||
|
|
||||||
static unsigned short width = 0;
|
//static unsigned short width = 0;
|
||||||
static unsigned short height = 0;
|
//static unsigned short height = 0;
|
||||||
static unsigned char* uncompressed_data = NULL;
|
//static unsigned char* uncompressed_data = NULL;
|
||||||
|
|
||||||
void uncompress( int code_length,
|
void uncompress( int code_length,
|
||||||
const unsigned char *input,
|
const unsigned char *input,
|
||||||
@@ -313,8 +313,8 @@ unsigned char* process_image_descriptor( unsigned char* buffer,
|
|||||||
|
|
||||||
compressed_data_length = read_sub_blocks( buffer, &compressed_data );
|
compressed_data_length = read_sub_blocks( buffer, &compressed_data );
|
||||||
|
|
||||||
width = image_descriptor.image_width;
|
// width = image_descriptor.image_width;
|
||||||
height = image_descriptor.image_height;
|
// height = image_descriptor.image_height;
|
||||||
uncompressed_data_length = image_descriptor.image_width *
|
uncompressed_data_length = image_descriptor.image_width *
|
||||||
image_descriptor.image_height;
|
image_descriptor.image_height;
|
||||||
uncompressed_data = (unsigned char*)malloc( uncompressed_data_length );
|
uncompressed_data = (unsigned char*)malloc( uncompressed_data_length );
|
||||||
|
|||||||
Reference in New Issue
Block a user