...
diff --git a/MagickCore/constitute.c b/MagickCore/constitute.c
index d36165c..7bd2510 100644
--- a/MagickCore/constitute.c
+++ b/MagickCore/constitute.c
@@ -1012,9 +1012,8 @@
for (p=content; (*p != ',') && (*p != '\0'); p++) ;
if (*p == '\0')
ThrowReaderException(CorruptImageError,"CorruptImage");
- p++;
length=0;
- blob=Base64Decode(p,&length);
+ blob=Base64Decode(++p,&length);
if (length == 0)
{
blob=(unsigned char *) RelinquishMagickMemory(blob);
@@ -1035,10 +1034,9 @@
i;
/*
- Extract Mime type.
+ Extract media type.
*/
- p++;
- if (LocaleNCompare(p,"x-",2) == 0)
+ if (LocaleNCompare(++p,"x-",2) == 0)
p+=2;
(void) strcpy(read_info->filename,"data.");
q=read_info->filename+5;