*/
#undef EXIF_DEBUG
+#undef EXIF_JPEG2000
+
#include "php_exif.h"
#include <math.h>
#include "php_ini.h"
We want to print out the marker contents as legible text;
we must guard against random junk and varying newline representations.
*/
+#ifdef EXIF_JPEG2000
static void exif_process_CME (image_info_type *image_info, uchar *value, int length)
{
if (length>3) {
php_error(E_NOTICE,"JPEG2000 comment section to small");
}
}
+#endif
/* }}} */
/* {{{ exif_process_SOFn
ImageInfo.sections_found |= FOUND_COMPUTED;/* do not inform about in debug*/
- if (ret==FALSE || (sections_needed && !(sections_needed&ImageInfo.sections_found) || array_init(return_value) == FAILURE)) {
+ if (ret==FALSE || (sections_needed && !(sections_needed&ImageInfo.sections_found)) || array_init(return_value) == FAILURE) {
/* array_init must be checked at last! otherwise the array must be freed if a later test fails. */
exif_discard_imageinfo(&ImageInfo);
if ( sections_str) efree(sections_str);