Fixed #1827 Video replacing VP6 reading

This commit is contained in:
Jindra Petřík
2022-12-29 12:46:40 +01:00
parent 7d548fca30
commit 32807b826d
3 changed files with 3 additions and 0 deletions

View File

@@ -286,6 +286,7 @@ public class MovieImporter {
for (FLVTAG ftag : videoTags) {
videoData = ((VIDEODATA) ftag.data);
if (videoData.codecId == VIDEODATA.CODEC_VP6 || videoData.codecId == VIDEODATA.CODEC_VP6_ALPHA) {
dis = new FLVInputStream(new ByteArrayInputStream(videoData.videoData));
int horizontalAdjustment = (int) dis.readUB(4);
int verticalAdjustment = (int) dis.readUB(4);
if (videoData.codecId == VIDEODATA.CODEC_VP6_ALPHA) {