diff --git a/aee.xcodeproj/project.xcworkspace/xcuserdata/raimonzamora.xcuserdatad/UserInterfaceState.xcuserstate b/aee.xcodeproj/project.xcworkspace/xcuserdata/raimonzamora.xcuserdatad/UserInterfaceState.xcuserstate index 7fb0dd6..e134f92 100644 Binary files a/aee.xcodeproj/project.xcworkspace/xcuserdata/raimonzamora.xcuserdatad/UserInterfaceState.xcuserstate and b/aee.xcodeproj/project.xcworkspace/xcuserdata/raimonzamora.xcuserdatad/UserInterfaceState.xcuserstate differ diff --git a/gif.c b/gif.c index 6061baf..3d5859d 100644 --- a/gif.c +++ b/gif.c @@ -85,9 +85,9 @@ typedef struct } plaintext_extension_t; -static unsigned short width = 0; -static unsigned short height = 0; -static unsigned char* uncompressed_data = NULL; +//static unsigned short width = 0; +//static unsigned short height = 0; +//static unsigned char* uncompressed_data = NULL; void uncompress( int code_length, 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 ); - width = image_descriptor.image_width; - height = image_descriptor.image_height; +// width = image_descriptor.image_width; +// height = image_descriptor.image_height; uncompressed_data_length = image_descriptor.image_width * image_descriptor.image_height; uncompressed_data = (unsigned char*)malloc( uncompressed_data_length );