mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 04:18:26 +01:00
Merge "palette.c: fix msvc warnings" into main
This commit is contained in:
commit
dd7364c3ce
@ -53,8 +53,8 @@ int GetColorPalette(const struct WebPPicture* const pic,
|
|||||||
// Sorts the palette according to the criterion defined by 'method'.
|
// Sorts the palette according to the criterion defined by 'method'.
|
||||||
// 'palette_sorted' is the input palette sorted lexicographically, as done in
|
// 'palette_sorted' is the input palette sorted lexicographically, as done in
|
||||||
// PrepareMapToPalette. Returns 0 on memory allocation error.
|
// PrepareMapToPalette. Returns 0 on memory allocation error.
|
||||||
int PaletteSort(PaletteSorting method, const struct WebPPicture* pic,
|
int PaletteSort(PaletteSorting method, const struct WebPPicture* const pic,
|
||||||
const uint32_t* palette_sorted, uint32_t num_colors,
|
const uint32_t* const palette_sorted, uint32_t num_colors,
|
||||||
uint32_t* palette);
|
uint32_t* const palette);
|
||||||
|
|
||||||
#endif // WEBP_UTILS_PALETTE_H_
|
#endif // WEBP_UTILS_PALETTE_H_
|
||||||
|
Loading…
Reference in New Issue
Block a user