mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-27 22:28:22 +01:00
fix windows build
broken since:
ad25032
Merge "multi-threaded alpha encoding for lossy"
this produced an error due to an empty VP8TBuffer struct.
Change-Id: I640809d07d20092c1d660e2b59b58a62a12e4371
This commit is contained in:
parent
ad2503203a
commit
153f94e8b5
@ -337,8 +337,8 @@ typedef struct {
|
|||||||
VP8Tokens** last_page_; // last page
|
VP8Tokens** last_page_; // last page
|
||||||
uint16_t* tokens_; // set to (*last_page_)->tokens_
|
uint16_t* tokens_; // set to (*last_page_)->tokens_
|
||||||
int left_; // how many free tokens left before the page is full.
|
int left_; // how many free tokens left before the page is full.
|
||||||
int error_; // true in case of malloc error
|
|
||||||
#endif
|
#endif
|
||||||
|
int error_; // true in case of malloc error
|
||||||
} VP8TBuffer;
|
} VP8TBuffer;
|
||||||
|
|
||||||
void VP8TBufferInit(VP8TBuffer* const b); // initialize an empty buffer
|
void VP8TBufferInit(VP8TBuffer* const b); // initialize an empty buffer
|
||||||
|
Loading…
Reference in New Issue
Block a user