Alexandre Julliard pushed to branch master at wine / wine
Commits: b110a3a3 by Yuxuan Shui at 2025-10-27T23:19:02+01:00 wmvcore/tests: Check what happens to a WMSyncReader when its allocator fails.
- - - - - d8646199 by Yuxuan Shui at 2025-10-27T23:19:02+01:00 winegstreamer: Return NS_E_NO_MORE_SAMPLES from WMSyncReader if sample fails to read.
If allocator fails, native returns NS_E_NO_MORE_SAMPLES whereas we propagate the allocator's failure code. Some games checks this return value and will raise an error/exception if anything other than NS_E_NO_MORE_SAMPLES is returned, for example any game using the KiriKiri movie player [0] will do this.
[0]: https://github.com/krkrz/krkrz/blob/fd5c4baa6a2ef5978db1bd043634351f48667daf...
- - - - -
2 changed files:
- dlls/winegstreamer/wm_reader.c - dlls/wmvcore/tests/wmvcore.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/compare/99d7af87d342eeaecf71afb8c8825e...