]> granicus.if.org Git - imagemagick/commitdiff
(no commit message)
authorcristy <urban-warrior@git.imagemagick.org>
Wed, 25 Feb 2015 02:45:59 +0000 (02:45 +0000)
committercristy <urban-warrior@git.imagemagick.org>
Wed, 25 Feb 2015 02:45:59 +0000 (02:45 +0000)
coders/html.c
coders/mpeg.c

index 1488927fa7d22f33517abfd1ea7a5e34e59cc940..33beb899b3deefce0ef046c58c6c133ceaff1e43 100644 (file)
@@ -280,6 +280,7 @@ static MagickBooleanType WriteHTMLImage(const ImageInfo *image_info,
   (void) CopyMagickString(image->filename,image_info->filename,MaxTextExtent);
   (void) CopyMagickString(filename,image->filename,MaxTextExtent);
   write_info=CloneImageInfo(image_info);
+  *write_info->magick='\0';
   write_info->adjoin=MagickTrue;
   status=MagickTrue;
   if (LocaleCompare(image_info->magick,"SHTML") != 0)
index c0b481cf1e7948d029c523c9e75d8f9a80897640..7e5a98ca9262f453a67b565640e8be4e0f07172d 100644 (file)
@@ -506,6 +506,7 @@ static MagickBooleanType WriteMPEGImage(const ImageInfo *image_info,
     basename);
   count=0;
   write_info=CloneImageInfo(image_info);
+  *write_info->magick='\0';
   for (p=coalesce_image; p != (Image *) NULL; p=GetNextImageInList(p))
   {
     char