mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Merge pull request #20 from yoya/master
fix condition (picture->colorspace == WEBP_YUV420A)
This commit is contained in:
commit
114b4a2588
1 changed files with 1 additions and 1 deletions
|
|
@ -19,7 +19,7 @@ static int webpEncodeYUVA(const WebPConfig *config, WebPPicture *picture, uint8_
|
|||
picture->y = y;
|
||||
picture->u = u;
|
||||
picture->v = v;
|
||||
if (picture->colorspace = WEBP_YUV420A) {
|
||||
if (picture->colorspace == WEBP_YUV420A) {
|
||||
picture->a = a;
|
||||
}
|
||||
picture->writer = (WebPWriterFunction)writeWebP;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue