From 7e4998c539533fafdead1e0084822d83350e4979 Mon Sep 17 00:00:00 2001 From: "honfika@gmail.com" Date: Sat, 16 Jan 2016 20:00:13 +0100 Subject: [PATCH] cache key fixed (time is added to the key) --- libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java index a32b01efa..0d617ee37 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/SWF.java @@ -2715,7 +2715,7 @@ public final class SWF implements SWFContainerItem, Timelined { public static SerializableImage frameToImageGet(Timeline timeline, int frame, int time, DepthState stateUnderCursor, int mouseButton, RECT displayRect, Matrix transformation, ColorTransform colorTransform, Color backGroundColor, boolean useCache, double zoom) { SWF swf = timeline.swf; - String key = "frame_" + frame + "_" + timeline.id + "_" + swf.hashCode() + "_" + zoom; + String key = "frame_" + frame + "_" + time + "_" + timeline.id + "_" + swf.hashCode() + "_" + zoom; SerializableImage image; if (useCache) { image = swf.getFromCache(key);