ws-cleanup-types: Types, api, host: honest annotations; return the full annotated value count

This commit is contained in:
4DBug committed 2026-10-31 10:43:19 -05:00
1 parent 59a0352ca6
commit f209801579
22 files changed
+147 -147

No files matched your search

+1 -1
View File
@@ -239,7 +239,7 @@ function D.info(self: Demux, track: number, k: number): (number?, number?, numbe
local list = self.byTrack[track]
local i = list and list[k]
if not i then
return nil
return nil, nil, nil, nil, nil
end
return self.pts[i], self.dts[i], self.dur[i], self.key[i], self.len[i]
end