diff --git a/configure b/configure index 43c9e4f5..8c532fbf 100755 --- a/configure +++ b/configure @@ -10311,7 +10311,7 @@ CC="$lt_save_CC" ac_config_headers="$ac_config_headers config.h" -ac_config_files="$ac_config_files Makefile examples/Makefile src/Makefile" +ac_config_files="$ac_config_files Makefile examples/Makefile src/dec/Makefile" cat >confcache <<\_ACEOF # This file is a shell script that caches the results of configure @@ -11283,7 +11283,7 @@ do "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;; "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; "examples/Makefile") CONFIG_FILES="$CONFIG_FILES examples/Makefile" ;; - "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; + "src/dec/Makefile") CONFIG_FILES="$CONFIG_FILES src/dec/Makefile" ;; *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;; esac diff --git a/examples/dwebp.c b/examples/dwebp.c index dcbde7e7..5a6a3651 100644 --- a/examples/dwebp.c +++ b/examples/dwebp.c @@ -33,7 +33,7 @@ static void help(const char *s) { ); } -int main(int argc, char *argv[]) { +int main(int argc, const char *argv[]) { const char *in_file = NULL; const char *out_file = NULL; int raw_output = 0; @@ -85,9 +85,9 @@ int main(int argc, char *argv[]) { } if (!raw_output) { - out = WebPDecodeRGB(data, data_size, &width, &height); + out = WebPDecodeRGB((const uint8_t*)data, data_size, &width, &height); } else { - out = WebPDecodeYUV(data, data_size, &width, &height, + out = WebPDecodeYUV((const uint8_t*)data, data_size, &width, &height, &u, &v, &stride, &uv_stride); } free(data);