Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

YYImageDecoder,DelayTime为0的时候,value是有对象的,需要判断为0的值 #140

Open
robinyue opened this issue Mar 21, 2019 · 0 comments

Comments

@robinyue
Copy link

robinyue commented Mar 21, 2019

项目中遇到了在解码GIF时unclampedDelayTime为0的情况,导致无法获取到duration。发现这里的判断有问题,unclampedDelayTime为0时,需要判断value的值而不是value对象。

if (!value) {

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant