Authored by Bogdan Poplauschi
Committed by GitHub

Fixed create progressive coder issue

Because we don't break when we find the 1st coder that can decode progressively, we will always rewrite the `progressiveCoder ` with an `SDWebImageIOCoder` instance
@@ -332,6 +332,7 @@ didReceiveResponse:(NSURLResponse *)response @@ -332,6 +332,7 @@ didReceiveResponse:(NSURLResponse *)response
332 if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] && 332 if ([coder conformsToProtocol:@protocol(SDWebImageProgressiveCoder)] &&
333 [((id<SDWebImageProgressiveCoder>)coder) canIncrementallyDecodeFromData:imageData]) { 333 [((id<SDWebImageProgressiveCoder>)coder) canIncrementallyDecodeFromData:imageData]) {
334 self.progressiveCoder = [[[coder class] alloc] init]; 334 self.progressiveCoder = [[[coder class] alloc] init];
  335 + break;
335 } 336 }
336 } 337 }
337 } 338 }