case BlobStream:
return(MagickTrue);
case FileStream:
- case ZipStream:
{
int
status;
status=fseek(blob_info->file_info.file,0,SEEK_CUR);
return(status == -1 ? MagickFalse : MagickTrue);
}
+ case ZipStream:
+ {
+ int
+ status;
+
+ if (blob_info->file_info.gzfile == (gzFile) NULL)
+ return(MagickFalse);
+ status=gzseek(blob_info->file_info.gzfile,0,SEEK_CUR);
+ return(status == -1 ? MagickFalse : MagickTrue);
+ }
case UndefinedStream:
case BZipStream:
case FifoStream: