image cache fix

This commit is contained in:
Jindra Petk
2013-07-08 19:25:23 +02:00
parent 148b4d7ce1
commit 482bca902c

View File

@@ -2202,7 +2202,11 @@ public class SWF {
for (int i = startFrame; i <= stopFrame; i++) {
String key = "frame_" + i + "_" + containerId;
if (cache.contains(key)) {
ret.add(((CachedImage) cache.get(key)).getImage());
CachedImage g = (CachedImage) cache.get(key);
if (g == null) {
break;
}
ret.add(g.getImage());
startFrame++;
} else {
break;