Showing
1 changed file
with
2 additions
and
1 deletions
@@ -32,8 +32,9 @@ | @@ -32,8 +32,9 @@ | ||
32 | 32 | ||
33 | for (size_t i = 0; i < count; i++) { | 33 | for (size_t i = 0; i < count; i++) { |
34 | CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); | 34 | CGImageRef image = CGImageSourceCreateImageAtIndex(source, i, NULL); |
35 | - if (!image) | 35 | + if (!image) { |
36 | continue; | 36 | continue; |
37 | + } | ||
37 | 38 | ||
38 | duration += [self sd_frameDurationAtIndex:i source:source]; | 39 | duration += [self sd_frameDurationAtIndex:i source:source]; |
39 | 40 |
-
Please register or login to post a comment