mirror of
https://github.com/talgo-cloud/talgo-libwebp.git
synced 2026-03-07 21:48:16 -08:00
Add const keyword to arguments.
This commit is contained in:
parent
3a78b3d0d3
commit
0e5bb2d99a
1 changed files with 1 additions and 1 deletions
|
|
@ -15,7 +15,7 @@ static void free_WebPPicture(WebPPicture* webpPicture) {
|
|||
free(webpPicture);
|
||||
}
|
||||
|
||||
static int webpEncodeGray(WebPConfig *config, WebPPicture *picture) {
|
||||
static int webpEncodeGray(const WebPConfig *config, WebPPicture *picture) {
|
||||
int ok = 0;
|
||||
const int c_width = (picture->width + 1) >> 1;
|
||||
const int c_height = (picture->height + 1) >> 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue