从无法访问的项目Fork
体验新版 GitCode,发现更多精彩内容 >>
Fixes #88
We get a GifHeader object, but it has 0 frames which eventually causes a divide by zero exception. Since the real problem is that we couldn't decode the gif, we check in the decoder if the decode failed and then simply return null.