Add const keyword to arguments.

master
Shunsuke Michii 10 years ago
parent 3a78b3d0d3
commit 0e5bb2d99a

@ -15,7 +15,7 @@ static void free_WebPPicture(WebPPicture* webpPicture) {
free(webpPicture); free(webpPicture);
} }
static int webpEncodeGray(WebPConfig *config, WebPPicture *picture) { static int webpEncodeGray(const WebPConfig *config, WebPPicture *picture) {
int ok = 0; int ok = 0;
const int c_width = (picture->width + 1) >> 1; const int c_width = (picture->width + 1) >> 1;
const int c_height = (picture->height + 1) >> 1; const int c_height = (picture->height + 1) >> 1;

Loading…
Cancel
Save