int ret;
zend_stat_t st;
- php_printf("exif_read_from_stream");
-
/* Start with an empty image information structure. */
memset(ImageInfo, 0, sizeof(*ImageInfo));
int ret;
php_stream *stream;
- php_printf("exif_read_from_file");
-
stream = php_stream_open_wrapper(FileName, "rb", STREAM_MUST_SEEK | IGNORE_PATH, NULL);
if (!stream) {
convert_to_string(stream);
if (!Z_STRLEN_P(stream)) {
- exif_error_docref(NULL EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be empty");
+ exif_error_docref(NULL, EXIFERR_CC, &ImageInfo, E_WARNING, "Filename cannot be empty");
RETURN_FALSE;
}