mirror of
https://github.com/ubiquitarianism/leonida.git
synced 2026-11-26 22:40:52 +01:00
[PR #305] [CLOSED] bink_index: validate frame offsets within each stored stream #357
Labels
No labels
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
starred/leonida#357
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/ubiquitarianism/leonida/pull/305
Author: @Andretuta
Created: 11/24/2026
Status: ❌ Closed
Base:
main← Head:old-pr/10040📝 Commits (1)
eb30560bink_index: validate frame offsets within each stored stream📊 Changes
3 files changed (+146 additions, -13 deletions)
View changed files
📝
docs/movies.md(+11 -3)📝
tests/test_bink_index.py(+80 -0)📝
tools/bink_index.py(+55 -10)📄 Description
Original description (mentions and
#Nreferences are disabled; the numbers refer to the old repository):Coordination claim
What and why
The movie indexer can inventory a stream from its header even when the frame table points outside that stream. Add
--validate-framesto check the table before publishing a report. It checks the table size, masks the keyframe bit and requires strictly increasing frame starts inside the payload. Diagnostics identify the stream and the first failed check. Default CSV and JSON output stays compatible.Tested
git diff --checkpassed. The translator suite ran 6,046 tests in 459 files with SPIRV-Tools 2026.4. Two files failed,test_exec_computedandtest_image_atomics_guard. All 49 failing subcase IDs matched independent runs on the unmodified base atd083a2c.AI-assisted: yes (Codex).
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.