]> granicus.if.org Git - imagemagick/commitdiff
https://github.com/ImageMagick/ImageMagick/issues/1337
authorCristy <urban-warrior@imagemagick.org>
Sat, 6 Oct 2018 12:55:55 +0000 (08:55 -0400)
committerCristy <urban-warrior@imagemagick.org>
Sat, 6 Oct 2018 12:55:55 +0000 (08:55 -0400)
coders/bmp.c

index e20085fefb249b571c7ef055b3d2f138b93c4097..ab5818379d1497d8a4a389aa338b9e7ed026b2b9 100644 (file)
@@ -595,8 +595,7 @@ static Image *ReadBMPImage(const ImageInfo *image_info,ExceptionInfo *exception)
     /*
       Verify BMP identifier.
     */
-    if (bmp_info.ba_offset == 0)
-      start_position=TellBlob(image)-2;
+    start_position=TellBlob(image)-2;
     bmp_info.ba_offset=0;
     while (LocaleNCompare((char *) magick,"BA",2) == 0)
     {