Toggle navigation
Toggle navigation
This project
Loading...
Sign in
ios
/
yh_sdwebimage
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
Olivier Poitrey
2016-01-30 02:54:23 +0100
Commit
e41af47e2f5de9317d55083e23168e076b550e34
2 parents
64f62108
070cbc63
Merge pull request #1447 from slackhq/master
Protect against malformed frame
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
SDWebImage/UIImage+GIF.m
SDWebImage/UIImage+GIF.m
View file @
e41af47
...
...
@@ -32,6 +32,9 @@
for
(
size_t
i
=
0
;
i
<
count
;
i
++
)
{
CGImageRef
image
=
CGImageSourceCreateImageAtIndex
(
source
,
i
,
NULL
);
if
(
!
image
)
{
continue
;
}
duration
+=
[
self
sd_frameDurationAtIndex
:
i
source
:
source
];
...
...
Please
register
or
login
to post a comment