mirror of
https://github.com/webmproject/libwebp.git
synced 2024-12-26 13:48:21 +01:00
picture_tools_enc: fix windows build warning
with WebPReplaceTransparentPixels() function signature: src\enc\picture_tools_enc.c(86): warning C4028: formal parameter 1 different from declaration Change-Id: I0140d61b0dfebcbb4189707e8f2f4b1af802a4d7
This commit is contained in:
parent
cf847cba58
commit
64425a0884
@ -83,7 +83,7 @@ static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr,
|
||||
return (count == 0);
|
||||
}
|
||||
|
||||
void WebPReplaceTransparentPixels(WebPPicture* pic, uint32_t color) {
|
||||
void WebPReplaceTransparentPixels(WebPPicture* const pic, uint32_t color) {
|
||||
if (pic != NULL && pic->use_argb) {
|
||||
int y = pic->height;
|
||||
uint32_t* argb = pic->argb;
|
||||
|
Loading…
Reference in New Issue
Block a user