1
0
mirror of https://github.com/php/php-src.git synced 2026-04-11 18:13:00 +02:00

libjpeg-not-installed protection

This commit is contained in:
Hartmut Holzgraefe
2001-02-09 21:04:45 +00:00
parent e0c4bd742e
commit d8a83a3722

View File

@@ -2761,6 +2761,7 @@ static void _php_image_bw_convert( gdImagePtr im_org, int threshold, FILE *out)
}
#ifdef HAVE_GD_JPG
/* _php_image_convert converts jpeg/png images to wbmp and resizes them as needed */
static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) {
zval **f_org, **f_dest, **height, **width, **threshold;
@@ -2938,6 +2939,8 @@ static void _php_image_convert(INTERNAL_FUNCTION_PARAMETERS, int image_type ) {
}
WRONG_PARAM_COUNT;
}
#endif /* HAVE_GD_JPG */
#endif /* HAVE_GD_WBMP */