Changeset 11620
- Timestamp:
- 07/13/08 11:38:18 (8 weeks ago)
- Files:
-
- 1 modified
-
ImageMagick/trunk/magick/image.c (modified) (7 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ImageMagick/trunk/magick/image.c
r11600 r11620 3426 3426 3427 3427 ExceptionInfo 3428 sans_exception;3428 *sans_exception; 3429 3429 3430 3430 Image … … 3525 3525 #endif 3526 3526 image_info->affirm=MagickFalse; 3527 sans_exception=AcquireExceptionInfo(); 3527 3528 if (*extension != '\0') 3528 3529 { … … 3580 3581 i++; 3581 3582 } 3582 magick_info=GetMagickInfo(magic, &sans_exception);3583 magick_info=GetMagickInfo(magic,sans_exception); 3583 3584 if ((magick_info != (const MagickInfo *) NULL) && 3584 3585 (magick_info->format_type != UndefinedFormatType)) … … 3612 3613 } 3613 3614 } 3614 GetExceptionInfo(&sans_exception);3615 magick_info=GetMagickInfo(magic,&sans_exception);3615 magick_info=GetMagickInfo(magic,sans_exception); 3616 sans_exception=DestroyExceptionInfo(sans_exception); 3616 3617 if ((magick_info == (const MagickInfo *) NULL) || 3617 3618 (GetMagickEndianSupport(magick_info) == MagickFalse)) 3618 3619 image_info->endian=UndefinedEndian; 3619 (void) DestroyExceptionInfo(&sans_exception);3620 3620 GetPathComponent(image_info->filename,CanonicalPath,filename); 3621 3621 (void) CopyMagickString(image_info->filename,filename,MaxTextExtent); … … 3683 3683 Check magic.xml configuration file. 3684 3684 */ 3685 GetExceptionInfo(&sans_exception);3686 magic_info=GetMagicInfo(magick,(size_t) count, &sans_exception);3685 sans_exception=AcquireExceptionInfo(); 3686 magic_info=GetMagicInfo(magick,(size_t) count,sans_exception); 3687 3687 if ((magic_info != (const MagicInfo *) NULL) && 3688 3688 (GetMagicName(magic_info) != (char *) NULL)) … … 3690 3690 (void) CopyMagickString(image_info->magick,GetMagicName(magic_info), 3691 3691 MaxTextExtent); 3692 magick_info=GetMagickInfo(image_info->magick, &sans_exception);3692 magick_info=GetMagickInfo(image_info->magick,sans_exception); 3693 3693 if ((magick_info == (const MagickInfo *) NULL) || 3694 3694 (GetMagickEndianSupport(magick_info) == MagickFalse)) 3695 3695 image_info->endian=UndefinedEndian; 3696 (void) DestroyExceptionInfo(&sans_exception);3696 sans_exception=DestroyExceptionInfo(sans_exception); 3697 3697 return(MagickTrue); 3698 3698 } … … 3700 3700 if (p != (const char *) NULL) 3701 3701 (void) CopyMagickString(image_info->magick,p,MaxTextExtent); 3702 magick_info=GetMagickInfo(image_info->magick, &sans_exception);3702 magick_info=GetMagickInfo(image_info->magick,sans_exception); 3703 3703 if ((magick_info == (const MagickInfo *) NULL) || 3704 3704 (GetMagickEndianSupport(magick_info) == MagickFalse)) 3705 3705 image_info->endian=UndefinedEndian; 3706 (void) DestroyExceptionInfo(&sans_exception);3706 sans_exception=DestroyExceptionInfo(sans_exception); 3707 3707 return(MagickTrue); 3708 3708 }
