Skip to content

Commit

Permalink
https://github.com/ImageMagick/ImageMagick/issues/3258
Browse files Browse the repository at this point in the history
  • Loading branch information
Cristy committed Feb 16, 2021
1 parent ea03af8 commit d285259
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions coders/heic.c
Original file line number Diff line number Diff line change
Expand Up @@ -650,8 +650,11 @@ static MagickBooleanType WriteHEICImage(const ImageInfo *image_info,
*/
#if LIBHEIF_NUMERIC_VERSION > 0x01060200
if (LocaleCompare(image_info->magick,"AVIF") == 0)
error=heif_context_get_encoder_for_format(heif_context,
heif_compression_AV1,&heif_encoder);
{
error=heif_context_get_encoder_for_format(heif_context,
heif_compression_AV1,&heif_encoder);
(void) CopyMagickString(image->magick,"AVIF",MagickPathExtent);
}
else
#endif
error=heif_context_get_encoder_for_format(heif_context,
Expand Down

0 comments on commit d285259

Please sign in to comment.