roycezhc/gifview2

frameCache这个缓存是不是永远用不到

Opened this issue · 0 comments


        if (loopCache && frameQueue.size() == 0) {
            if (iCurrentFrame >= frameCount) {
                iCurrentFrame = 0;
                action.loopEnd();
            }
            gif = frameCache.get(iCurrentFrame);
            iCurrentFrame++;

        } 
if语句里面的 frameQueue.size() == 
0是不是永远不会成立?我修改为frameQueue.size() != 
0,运行没有问题

Original issue reported on code.google.com by guqu...@gmail.com on 3 Mar 2015 at 7:51