Commits
Commits on
74a46ce6cb040a0f1fe4969e8fb034207c2e6f7dFiltered to crates/ec-flac/src/decode.rsClear filterToday
FLAC framing: frame end is the first sync whose preceding frame passes its footer CRC-16, not the first header-plausible syncAhmet Kaan Gümüş · 65e0b1a
FLAC framing: frame end is the first sync whose preceding frame passes its footer CRC-16, not the first header-plausible sync flac-5.1-44100.flac (pinned ffmpeg 9.0.2, sha256 matches fixtures.sha256): packet 7 is at byte 45447, 5908 bytes. A sync-like header at byte 47501 inside the audio passes header CRC-8, so the probe cut the packet there and the subframe decode ran out of data (need more data). ffprobe lists the packet as 5908 bytes; the footer CRC-16 over [45447,51353) equals the stated 53762 at 51355 and does not match at 47501. Falls back to the first plausible sync when no candidate verifies, so damaged streams behave as before
2026-10-23
Restore edith_codecs after local data loss (2026-10-23)Ahmet Kaan Gümüş · b7434a2
Restore edith_codecs after local data loss (2026-10-23) On 2026-10-23 an automated agent ran `rm -rf $HOME` and deleted the local repository with all of its history. This commit restores the working tree from the newest surviving copy, the host-c server lane mirror. That mirror matches local main as of the testcut Phase 2 reports, including the tool cache, the nextest fast profile and changed-crates.sh. The history before this commit was not recovered.
2026-08-21
2026-08-14
feat(flac): ec-flac decoder + encoder and the flacenc shimAhmet Kaan Gümüş · 339321d
feat(flac): ec-flac decoder + encoder and the flacenc shim Decoder: metadata blocks, frame headers (fixed and variable blocking), constant/verbatim/fixed/LPC subframes to order 32, escaped and Rice-coded partitions, all three stereo decorrelations, 8..32-bit, CRC-8 + CRC-16 verified per frame, STREAMINFO MD5 check, seek-table positioning, and frame-sync resynchronisation for streams that start mid-file. Malformed input errors, never panics. Encoder: fixed block size, wasted-bit detection, fixed predictors, LPC (Tukey window, Levinson-Durbin, error-feedback quantisation), exact-cost Rice partition search, per-block stereo decision, 1..8 channels and 4..32 bits, with the input MD5 in STREAMINFO. shims/flacenc carries package flacenc 0.5.1 over ec-flac for the exact surface the replica calls (component::BitRepr, error::Verify, config::Encoder, source::MemSource, encode_with_fixed_block_size, bitsink::ByteSink). Verified: 64/64 Xiph subset vectors decode bit-exact vs ffmpeg, 6/6 decodable uncommon vectors bit-exact, faulty vectors error out; 14/14 fixture encodes decode back bit-exact through ffmpeg at 0.961x the size of ffmpeg's default FLAC.