mirror of
https://github.com/webmproject/libwebp.git
synced 2025-07-13 14:34:33 +02:00
fix MSVC compile for WEBP_EXPERIMENTAL_FEATURES
patch by Ismail Keskin (iskeskin at gmail dot com) fixes issue #82
This commit is contained in:
@ -23,6 +23,8 @@ extern "C" {
|
||||
|
||||
#ifdef WEBP_EXPERIMENTAL_FEATURES
|
||||
|
||||
#define CHUNK_SIZE 8192
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
static int CompressAlpha(const uint8_t* data, size_t data_size,
|
||||
@ -30,7 +32,6 @@ static int CompressAlpha(const uint8_t* data, size_t data_size,
|
||||
int algo) {
|
||||
int ret = Z_OK;
|
||||
z_stream strm;
|
||||
const int CHUNK_SIZE = 8192;
|
||||
unsigned char chunk[CHUNK_SIZE];
|
||||
|
||||
*output = NULL;
|
||||
|
Reference in New Issue
Block a user