]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Sun, 3 Nov 2013 22:01:17 +0000 (22:01 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Sun, 3 Nov 2013 22:01:17 +0000 (22:01 +0000)
coders/meta.c

index 3a8546c971c09d6b7709cb36b0df8da75c39a9e6..f1c25fdae1d02a65c755ca47f1bf905d6762ff7f 100644 (file)
@@ -951,8 +951,6 @@ static int jpeg_skip_till_marker(Image *ifile, int marker)
 }
 #endif
 
-static char psheader[] = "\xFF\xED\0\0Photoshop 3.0\08BIM\x04\x04\0\0\0\0";
-
 /* Embed binary IPTC data into a JPEG image. */
 static int jpeg_embed(Image *ifile, Image *ofile, Image *iptc)
 {
@@ -995,6 +993,9 @@ static int jpeg_embed(Image *ifile, Image *ofile, Image *iptc)
 
         if (iptc != (Image *)NULL)
           {
+            char
+              psheader[] = "\xFF\xED\0\0Photoshop 3.0\08BIM\x04\x04\0\0\0\0";
+
             len=(unsigned int) GetBlobSize(iptc);
             if (len & 1)
               len++; /* make the length even */