Browse Source

Fix build

pull/2633/head
Ynse Hoornenborg 2 years ago
parent
commit
c847f5d72d
  1. 1
      src/ImageSharp/Formats/Heif/HeifDecoderCore.cs

1
src/ImageSharp/Formats/Heif/HeifDecoderCore.cs

@ -623,6 +623,7 @@ internal sealed class HeifDecoderCore : IImageDecoderInternals
where TPixel : unmanaged, IPixel<TPixel>
{
EnsureBoxBoundary(boxLength, stream);
// FIXME: No specific decoding yet, so parse only a JPEG thumbnail.
HeifItemLink? thumbLink = this.itemLinks.FirstOrDefault(link => link.Type == Heif4CharCode.Thmb);
if (thumbLink == null)

Loading…
Cancel
Save