mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
Fix multi-threading with palettes.
Change-Id: Ifa23378c1f9c489d5963b4928781e104a14eb01a
This commit is contained in:
parent
b1674240f9
commit
98bbe35b51
@ -1973,6 +1973,8 @@ WebPEncodingError VP8LEncodeStream(const WebPConfig* const config,
|
||||
enc_side->palette_size_ = enc_main->palette_size_;
|
||||
memcpy(enc_side->palette_, enc_main->palette_,
|
||||
sizeof(enc_main->palette_));
|
||||
memcpy(enc_side->palette_sorted_, enc_main->palette_sorted_,
|
||||
sizeof(enc_main->palette_sorted_));
|
||||
param->enc_ = enc_side;
|
||||
}
|
||||
// Create the workers.
|
||||
|
Loading…
Reference in New Issue
Block a user