decord/source/4929_getDataView.js

26 lines
558 B
JavaScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 4929
// Function ID: 4930
2026-08-08 06:10:11 +00:00
// Name: getDataView
2026-08-24 06:08:38 +00:00
// Dependencies: [4915]
2026-08-08 06:10:11 +00:00
2026-08-24 06:08:38 +00:00
// Module 4929 (getDataView)
import getDataView from "getDataView" /* 4915 */;
require = arg1;
2026-08-08 06:10:11 +00:00
const dependencyMap = arg6;
2026-08-13 07:00:46 +00:00
let c2 = 6;
let closure_3 = ["GIF87a", "GIF89a"];
2026-08-08 06:10:11 +00:00
arg5.default = {
2026-08-13 07:00:46 +00:00
isGifFile(dataView) {
let hasItem = dataView;
if (hasItem) {
2026-08-24 06:08:38 +00:00
hasItem = closure_3.includes(getDataView.getStringFromDataView(dataView, 0, c2));
const obj = getDataView;
2026-08-08 06:10:11 +00:00
}
2026-08-13 07:00:46 +00:00
return hasItem;
2026-08-08 06:10:11 +00:00
},
2026-08-13 07:00:46 +00:00
findOffsets() {
return { gifHeaderOffset: 0 };
2026-08-08 06:10:11 +00:00
}
};