diff --git a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/MovieImporter.java b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/MovieImporter.java index 1cdca167c..8d495b04d 100644 --- a/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/MovieImporter.java +++ b/libsrc/ffdec_lib/src/com/jpexs/decompiler/flash/importers/MovieImporter.java @@ -313,8 +313,8 @@ public class MovieImporter { } int idealFrame = startFrame + (int) Math.floor(swf.frameRate * ftag.timeStamp / 1000.0); - if (idealFrame == importLastFrame) { - idealFrame++; + if (idealFrame <= importLastFrame) { + idealFrame = importLastFrame + 1; } int swfFrameNum = -1; ReadOnlyTagList tagList = timelined.getTags();