tests: fix the vdecsw build on Windows and run vdecsw in CI #1966
No reviewers
Labels
No labels
bug
documentation
duplicate
enhancement
GPU
GUI
help wanted
question
Shaders
Video
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/KytyPS5--KytyPS5!1966
Loading…
Reference in a new issue
No description provided.
Delete branch "github-bot/gh-1966"
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?
@MrBigBritches on GitHub · 2026-10-28 21:13 UTC · original
MrBigBritches:vdecsw-windows-build→main· +11 −9 · 2 files · 2 commits · openvdecsw_testsdoesn't compile on Windows.GuardedMemoryallocates its guarded buffer withstd::aligned_alloc, which the Microsoft C runtime doesn't provide:No CI job builds or runs this test, so the break went unnoticed.
Changes
tests/VdecswTests.cpp: allocate with C++17 alignedoperator newand free with the matching alignedoperator delete. They work on every platform, so no#ifdefis needed. The buffer size and guard bytes are unchanged..github/workflows/build.yml: the Windows, macOS and Linux jobs now buildvdecsw_testsand runvdecsw. The test only linkscommonand FFmpeg, so it adds little build time.Testing
On Windows (clang-cl),
vdecswbuilds and passes. The full suite passes exceptkernel_file_system, which crashes on Windows because of a separate bug in guest thread cancellation. That gets its own PR. This is the first timevdecswruns on the macOS and Linux runners.@coderabbitai[bot] on GitHub · 2026-10-28 21:17 UTC · original
No actionable comments were generated in the recent review.
1071aa6c-151e-423e-8c45-e0801a2a7852Reviewing files that changed from the base of the PR and between
c528324d27and2962cc2338..github/workflows/build.ymltests/VdecswTests.cppIncluded review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 8 remain after this review.
Walkthrough
GuardedMemorynow uses alignedoperator newand matching alignedoperator delete. The Windows, macOS, and Linux build workflows now buildvdecsw_testsand includevdecswin their CTest filters.Suggested reviewers:
nmzik,aspeniniPriority:
Normal
Change: Other
Merge Risk:
Minimal · up to
2962cThe changes have no established correctness or CI integration risk and are ready to merge.
Pre-merge checks:
5
Full details: Docstring Coverage
Explanation
No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 1 files. (1 skipped: 1 unsupported.)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
❤️ Share
Comment
@coderabbitai helpto get the list of available commands.View command line instructions
Manual merge helper
Use this merge commit message when completing the merge manually.
Checkout
From your project repository, check out a new branch and test the changes.Merge
Merge the changes and update on Forgejo.