comments: drop the last signature prefixes
This commit is contained in:
1 parent
1cdc76a339
commit
31f977ab95
5 files changed
+5
-6
No files matched your search
@@ -89,7 +89,7 @@ local function num(b: buffer, o: number, n: number, base: number): number?
|
||||
return tonumber(s, base)
|
||||
end
|
||||
|
||||
-- checksum(buf, offset, n) -> the crc format's sum of the data bytes (mod 2^32)
|
||||
-- the crc format's checksum: the sum of the data bytes mod 2^32
|
||||
function Cpio.checksum(b: buffer, o: number, n: number): number
|
||||
local s = 0
|
||||
local i = o
|
||||
|
||||
@@ -135,7 +135,7 @@ function IsoBmff.demux(r: Bytes.Reader, opts: Demux.Options?): (any, Err.Err?)
|
||||
return packet(best, i)
|
||||
end
|
||||
end
|
||||
-- seek(seconds): every track to its last sync sample at or before the time
|
||||
-- every track to its last sync sample at or before the time
|
||||
function dmx.seek(_self: any, seconds: number)
|
||||
for _, t in movie.tracks do
|
||||
local target = seconds * t.timescale
|
||||
|
||||
Reference in new issue
Block a user