mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
Revert to custom webp decoding
This commit is contained in:
parent
2430d2b7bc
commit
58bf113ecf
@ -10,11 +10,6 @@
|
||||
return nil;
|
||||
}
|
||||
|
||||
UIImage *osImage = [[UIImage alloc] initWithData:imgData scale:1.0];
|
||||
if (osImage != nil) {
|
||||
return osImage;
|
||||
}
|
||||
|
||||
int width = 0, height = 0;
|
||||
if (!WebPGetInfo([imgData bytes], [imgData length], &width, &height)) {
|
||||
NSMutableDictionary *errorDetail = [NSMutableDictionary dictionary];
|
||||
|
Loading…
x
Reference in New Issue
Block a user