We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7cbbc13 commit d494605Copy full SHA for d494605
magick/stream.c
@@ -1261,7 +1261,8 @@ MagickExport Image *StreamImage(const ImageInfo *image_info,
1261
image_info->filename);
1262
read_info=CloneImageInfo(image_info);
1263
stream_info->image_info=image_info;
1264
- stream_info->quantum_info=AcquireQuantumInfo(image_info,(Image *) NULL);
+ if (stream_info->quantum_info == (QuantumInfo *) NULL)
1265
+ stream_info->quantum_info=AcquireQuantumInfo(image_info,(Image *) NULL);
1266
if (stream_info->quantum_info == (QuantumInfo *) NULL)
1267
{
1268
read_info=DestroyImageInfo(read_info);
0 commit comments