[Scummvm-git-logs] scummvm master -> 61e0c63a4a189ba56b5fa815f40763d9f8b50110
Scorpeg
noreply at scummvm.org
Mon Jul 13 20:44:40 UTC 2026
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
61e0c63a4a VIDEO: Fix AVI video track initialization
Commit: 61e0c63a4a189ba56b5fa815f40763d9f8b50110
https://github.com/scummvm/scummvm/commit/61e0c63a4a189ba56b5fa815f40763d9f8b50110
Author: Scorp (scorp at mrs.mn)
Date: 2026-07-13T23:43:16+03:00
Commit Message:
VIDEO: Fix AVI video track initialization
Changed paths:
video/avi_decoder.cpp
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index e1efb73cd35..8b9e1538a1b 100644
--- a/video/avi_decoder.cpp
+++ b/video/avi_decoder.cpp
@@ -464,7 +464,7 @@ bool AVIDecoder::loadStream(Common::SeekableReadStream *stream) {
if (_decodedHeader) {
// Ensure there's at least one supported media track. Some AVI files
// carry only audio data, which is still valid for MCI-style playback.
- bool hasSupportedTrack = false;
+ bool hasSupportedTrack = findNextVideoTrack() != nullptr;
for (TrackListIterator it = getTrackListBegin(); it != getTrackListEnd(); it++) {
if ((*it)->getTrackType() == Track::kTrackTypeVideo || (*it)->getTrackType() == Track::kTrackTypeAudio) {
hasSupportedTrack = true;
More information about the Scummvm-git-logs
mailing list