Merge pull request #2079 from rs/fix_progressive_coder_is_always_IO
Fixed create progressive coder issue
This commit is contained in:
commit
292078c0be
|
@ -332,6 +332,7 @@ didReceiveResponse:(NSURLResponse *)response
|
|||
if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] &&
|
||||
[((id<SDWebImageProgressiveCoder>)coder) canIncrementallyDecodeFromData:imageData]) {
|
||||
self.progressiveCoder = [[[coder class] alloc] init];
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue