ws-cleanup-types: TrueType names, mp3 index, aac options, imageops test: annotations

This commit is contained in:
4DBug committed 2026-10-31 10:54:51 -05:00
1 parent 6a8a8abce2
commit 39dbde13b7
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -136,7 +136,7 @@ local function index(r: Bytes.Reader, maxFrames: number): ({ number }, { number
end
function AacFormat.open(r: Bytes.Reader, opts: DecodeOptions?): (Types.Decoder?, Err.Err?)
local o = opts or {}
local o: DecodeOptions = opts or {}
local offs, sizes, first, ierr = index(r, o.maxFrames or 2 ^ 22)
if ierr then
return nil, ierr