From: dirk Date: Sun, 27 Apr 2014 17:11:53 +0000 (+0000) Subject: Build fix. X-Git-Tag: 7.0.1-0~2402 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=9a844009efbe7558e1b4db8844a07dfa983f8958;p=imagemagick Build fix. --- diff --git a/MagickCore/blob.c b/MagickCore/blob.c index 23d14a063..f1c5304e2 100644 --- a/MagickCore/blob.c +++ b/MagickCore/blob.c @@ -2543,7 +2543,7 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info, ((int) magick[2] == 0x08)) { (void) fclose(image->blob->file_info.file); - image->blob_info->type=UndefinedStream; + image->blob->type=UndefinedStream; image->blob->file_info.gzfile=gzopen(filename,type); if (image->blob->file_info.gzfile != (gzFile) NULL) image->blob->type=ZipStream; @@ -2553,7 +2553,7 @@ MagickExport MagickBooleanType OpenBlob(const ImageInfo *image_info, if (strncmp((char *) magick,"BZh",3) == 0) { (void) fclose(image->blob->file_info.file); - image->blob_info->type=UndefinedStream; + image->blob->type=UndefinedStream; image->blob->file_info.bzfile=BZ2_bzopen(filename,type); if (image->blob->file_info.bzfile != (BZFILE *) NULL) image->blob->type=BZipStream;