diff --git a/submodules/AnimatedStickerNode/Sources/VideoStickerFrameSource.swift b/submodules/AnimatedStickerNode/Sources/VideoStickerFrameSource.swift index 4c424fe955..beb8a799ad 100644 --- a/submodules/AnimatedStickerNode/Sources/VideoStickerFrameSource.swift +++ b/submodules/AnimatedStickerNode/Sources/VideoStickerFrameSource.swift @@ -44,7 +44,7 @@ private final class VideoStickerFrameSourceCache { self.width = width self.height = height - let version: Int = 1 + let version: Int = 2 self.path = "\(pathPrefix)_\(width)x\(height)-v\(version).vstickerframecache" var file = ManagedFile(queue: queue, path: self.path, mode: .readwrite) if let file = file { diff --git a/submodules/YuvConversion/Sources/YUV.m b/submodules/YuvConversion/Sources/YUV.m index 0882f01ed1..b754f24db7 100644 --- a/submodules/YuvConversion/Sources/YUV.m +++ b/submodules/YuvConversion/Sources/YUV.m @@ -215,8 +215,6 @@ void decodeYUVAPlanesToRGBA(uint8_t const *srcYpData, int srcYpBytesPerRow, uint } } - error = vImagePremultiplyData_ARGB8888(&dest, &dest, kvImageDoNotTile); - uint8_t permuteMap[4] = {3, 2, 1, 0}; error = vImagePermuteChannels_ARGB8888(&dest, &dest, permuteMap, kvImageDoNotTile);