diff --git a/SDWebImageAVIFCoder.podspec b/SDWebImageAVIFCoder.podspec index e0b9213..b8ad36d 100644 --- a/SDWebImageAVIFCoder.podspec +++ b/SDWebImageAVIFCoder.podspec @@ -8,7 +8,7 @@ Pod::Spec.new do |s| s.name = 'SDWebImageAVIFCoder' - s.version = '0.5.2' + s.version = '0.5.3' s.summary = 'A SDWebImage coder plugin to support AVIF(AV1 Image File Format) image' # This description is used to generate tags and improve search results. diff --git a/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m b/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m index 79ac849..056ea8a 100644 --- a/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m +++ b/SDWebImageAVIFCoder/Classes/SDImageAVIFCoder.m @@ -752,9 +752,6 @@ static CGImageRef CreateImage8(avifImage * avif) { memset(origCr.data, pixelRange.CbCr_bias, origCr.width); } - //TODO: (ledyba-z) we have to scale alpha when libavif v0.6.0 comes. - // https://github.com/AOMediaCodec/libavif/issues/91 - uint8_t const permuteMap[4] = {0, 1, 2, 3}; switch(avif->yuvFormat) { case AVIF_PIXEL_FORMAT_NONE: