diff options
| author | Markus Fischer <mfischer@php.net> | 2002-03-31 23:00:31 +0000 |
|---|---|---|
| committer | Markus Fischer <mfischer@php.net> | 2002-03-31 23:00:31 +0000 |
| commit | ab2194d1da77b5e51779c39f42014d2091add087 (patch) | |
| tree | 86ba48324db7c605fa0275f5f87338f581e7d614 /ext/exif/exif.c | |
| parent | 460eb1103cfb68d563c7efbffe0cded19a74f346 (diff) | |
| download | php-git-ab2194d1da77b5e51779c39f42014d2091add087.tar.gz | |
- Fix compilation.
# Marcus, could you please fix the whitespace in this file?
Diffstat (limited to 'ext/exif/exif.c')
| -rw-r--r-- | ext/exif/exif.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 07067ae893..63cb061646 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -2031,6 +2031,7 @@ static int exif_process_IFD_TAG(image_info_type *ImageInfo, char *dir_entry, cha int tag, format, components; char *value_ptr, tagname[64], cbuf[32], *outside=NULL; size_t byte_count, offset_val, fpos, fgot; + TSRMLS_FETCH(); tag = php_ifd_get16u(dir_entry, ImageInfo->motorola_intel); format = php_ifd_get16u(dir_entry+2, ImageInfo->motorola_intel); @@ -2427,6 +2428,7 @@ static int exif_scan_JPEG_header(image_info_type *ImageInfo) uchar *Data; size_t fpos, size; jpeg_sof_info sof_info; + TSRMLS_FETCH(); for(section=0;;section++) { @@ -2666,6 +2668,7 @@ static int exif_process_IFD_in_TIFF(image_info_type *ImageInfo, size_t dir_offse unsigned char *dir_entry; size_t ifd_size, dir_size, entry_offset, next_offset, entry_length, entry_value, fgot; int entry_tag , entry_type; + TSRMLS_FETCH(); if ( ImageInfo->FileSize >= dir_offset+2) { if ( (sn=exif_file_sections_add(ImageInfo, M_PSEUDO, 2, NULL))==-1) { @@ -2865,6 +2868,7 @@ static int exif_scan_FILE_header (image_info_type *ImageInfo) { unsigned char file_header[8]; int ret = FALSE; + TSRMLS_FETCH(); ImageInfo->FileType = IMAGE_FILETYPE_UNKNOWN; |
