Apeplan / gifview2

Automatically exported from code.google.com/p/gifview2
0 stars 0 forks source link

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

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

        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