Merge pull request #2079 from rs/fix_progressive_coder_is_always_IO

Fixed create progressive coder issue
This commit is contained in:
Bogdan Poplauschi 2017-10-25 21:02:50 +03:00 committed by GitHub
commit 292078c0be
1 changed files with 1 additions and 0 deletions

View File

@ -332,6 +332,7 @@ didReceiveResponse:(NSURLResponse *)response
if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] &&
[((id<SDWebImageProgressiveCoder>)coder) canIncrementallyDecodeFromData:imageData]) {
self.progressiveCoder = [[[coder class] alloc] init];
break;
}
}
}