Skip to content

Commit

Permalink
Silenced warning when version is lower that 1.4.0.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlemstra committed Apr 18, 2022
1 parent 25d749c commit ed40ca1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions coders/heic.c
Expand Up @@ -1054,6 +1054,7 @@ static MagickBooleanType WriteHEICImageRGBA(Image *image,
return(status);
}

#if LIBHEIF_NUMERIC_VERSION > 0x01040000
static MagickBooleanType WriteHEICImageRRGGBBAA(Image *image,
struct heif_image *heif_image,ExceptionInfo *exception)
{
Expand Down Expand Up @@ -1144,6 +1145,7 @@ static MagickBooleanType WriteHEICImageRRGGBBAA(Image *image,
}
return(status);
}
#endif

static MagickBooleanType WriteHEICImage(const ImageInfo *image_info,
Image *image,ExceptionInfo *exception)
Expand Down

0 comments on commit ed40ca1

Please sign in to comment.