]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 9 Nov 2011 23:00:15 +0000 (23:00 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 9 Nov 2011 23:00:15 +0000 (23:00 +0000)
coders/tiff.c

index 134a763182cd8e3c11a7043af6feac94d965e91d..87b5d076ff4853390407f61a1f5ca3f797c4fc5d 100644 (file)
@@ -1752,7 +1752,7 @@ static Image *ReadTIFFImage(const ImageInfo *image_info,
 
 #if defined(MAGICKCORE_HAVE_TIFFMERGEFIELDINFO) && defined(MAGICKCORE_HAVE_TIFFSETTAGEXTENDER)
 static TIFFExtendProc
-  tiff_extensions = (TIFFExtendProc) NULL;
+  tag_extender = (TIFFExtendProc) NULL;
 
 static void TIFFTagExtender(TIFF *tiff)
 {
@@ -1764,8 +1764,8 @@ static void TIFFTagExtender(TIFF *tiff)
 
   TIFFMergeFieldInfo(tiff,TIFFExtensions,sizeof(TIFFExtensions)/
     sizeof(*TIFFExtensions));
-  if (tiff_extensions != (TIFFExtendProc) NULL)
-    (*tiff_extensions)(tiff);
+  if (tag_extender != (TIFFExtendProc) NULL)
+    (*tag_extender)(tiff);
 }
 #endif
 
@@ -1787,8 +1787,8 @@ ModuleExport size_t RegisterTIFFImage(void)
       if (MagickCreateThreadKey(&tiff_exception) == MagickFalse)
         ThrowFatalException(ResourceLimitFatalError,"MemoryAllocationFailed");
 #if defined(MAGICKCORE_HAVE_TIFFMERGEFIELDINFO) && defined(MAGICKCORE_HAVE_TIFFSETTAGEXTENDER)
-      if (tiff_extensions == (TIFFExtendProc) NULL)
-        tiff_extensions=TIFFSetTagExtender(TIFFTagExtender);
+      if (tag_extender == (TIFFExtendProc) NULL)
+        tag_extender=TIFFSetTagExtender(TIFFTagExtender);
 #endif
       instantiate_key=MagickTrue;
     }