Do not import multiple video frames into single SWF frame

This commit is contained in:
Jindra Petřík
2022-12-26 14:15:57 +01:00
parent 0914ae79cc
commit 21da3e0beb

View File

@@ -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();