forge
Explore
Log in

Don't you dare go Hollow

Commits

Commits on 00c1b3ff2d80d84fef71bb6208110dedbbd95fc4Filtered to crates/ec-opus/src/packet.rsClear filter

2026-08-14

test(opus): fuzz every mode with garbage payloads; document the PLC gapAhmet Kaan Gümüş · acb0d04
test(opus): fuzz every mode with garbage payloads; document the PLC gap

Every TOC configuration is fed random payloads and every prefix of real packets
is fed to the decoder: a malformed stream must return an error, never panic,
and the debug build's overflow checks make that a real test of the fixed-point
paths too. The crate docs now state what is deliberately absent -- packet loss
concealment, which a container-fed decoder never needs -- and why CELT cannot
use ec-dsp's power-of-two MDCT directly.
feat(opus): range decoder and packet framingAhmet Kaan Gümüş · b05a16e
feat(opus): range decoder and packet framing

RFC 6716 Section 4.1 range decoder (exact u32 arithmetic, raw bits from the
frame end, ec_tell/ec_tell_frac) and Section 3 + Appendix B framing: TOC,
codes 0-3, padding, and the self-delimiting variant multistream needs.

Checks: symbol round-trip against a test-only range encoder written from
Section 5.1, tell/tell_frac agreement, and a malformed-input sweep that must
never panic.