File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -409,7 +409,7 @@ - (UIImage *)decodedImageWithData:(NSData *)data options:(nullable SDImageCoderO
409
409
CGImageSourceRef source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, (__bridge CFDictionaryRef)creatingOptions);
410
410
if (!source) {
411
411
// Try again without UTType hint, the call site from user may provide the wrong UTType
412
- source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, (__bridge CFDictionaryRef)creatingOptions );
412
+ source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, nil );
413
413
}
414
414
if (!source) {
415
415
return nil ;
Original file line number Diff line number Diff line change @@ -202,7 +202,7 @@ - (UIImage *)decodedImageWithData:(NSData *)data options:(nullable SDImageCoderO
202
202
CGImageSourceRef source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, (__bridge CFDictionaryRef)creatingOptions);
203
203
if (!source) {
204
204
// Try again without UTType hint, the call site from user may provide the wrong UTType
205
- source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, (__bridge CFDictionaryRef)creatingOptions );
205
+ source = CGImageSourceCreateWithData ((__bridge CFDataRef)data, nil );
206
206
}
207
207
if (!source) {
208
208
return nil ;
You can’t perform that action at this time.
0 commit comments