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:
James Zern 2020-10-14 13:13:53 -07:00
parent cf847cba58
commit 64425a0884

View File

@ -83,7 +83,7 @@ static int SmoothenBlock(const uint8_t* a_ptr, int a_stride, uint8_t* y_ptr,
return (count == 0); return (count == 0);
} }
void WebPReplaceTransparentPixels(WebPPicture* pic, uint32_t color) { void WebPReplaceTransparentPixels(WebPPicture* const pic, uint32_t color) {
if (pic != NULL && pic->use_argb) { if (pic != NULL && pic->use_argb) {
int y = pic->height; int y = pic->height;
uint32_t* argb = pic->argb; uint32_t* argb = pic->argb;