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

+2 -2
View File
@@ -242,7 +242,7 @@ end
local function vorbisModes(id: buffer, setup: buffer): ({ number }?, { boolean }?)
if buffer.len(id) < 30 or buffer.len(setup) < 8 then
return nil
return nil, nil
end
local bs = buffer.readu8(id, 28)
local sizes = { 2 ^ (bs % 16), 2 ^ (bs // 16) }
@@ -278,7 +278,7 @@ local function vorbisModes(id: buffer, setup: buffer): ({ number }?, { boolean }
return sizes, out
end
end
return nil
return nil, nil
end
-- ------------------------------------------------------------------------------------------------ ADTS