diff --git a/SDWebImage/UIImage+GIF.m b/SDWebImage/UIImage+GIF.m index e6d8577d..bf74a367 100755 --- a/SDWebImage/UIImage+GIF.m +++ b/SDWebImage/UIImage+GIF.m @@ -32,8 +32,9 @@ for (size_t i = 0; i < count; i++) { CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); - if (!image) + if (!image) { continue; + } duration += [self sd_frameDurationAtIndex:i source:source];