[Scummvm-cvs-logs] scummvm master -> 9b8e6f54fca6e88557ad0815fd71f12fd409cd30

sev- sev at scummvm.org
Fri Feb 7 08:44:14 CET 2014


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
9b8e6f54fc VIDEO: Add additional FourCC appearing in some Zvision engine game versions


Commit: 9b8e6f54fca6e88557ad0815fd71f12fd409cd30
    https://github.com/scummvm/scummvm/commit/9b8e6f54fca6e88557ad0815fd71f12fd409cd30
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2014-02-06T23:42:58-08:00

Commit Message:
VIDEO: Add additional FourCC appearing in some Zvision engine game versions

Changed paths:
    video/avi_decoder.cpp



diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index bae5b7b..4e561cf 100644
--- a/video/avi_decoder.cpp
+++ b/video/avi_decoder.cpp
@@ -82,6 +82,7 @@ namespace Video {
 #define ID_CVID MKTAG('c','v','i','d')
 #define ID_IV32 MKTAG('i','v','3','2')
 #define ID_DUCK MKTAG('D','U','C','K')
+#define ID_DUCK2 MKTAG('d','u','c','k') // Some videos have DUCK tag in lowercase
 #define ID_MPG2 MKTAG('m','p','g','2')
 #define ID_MJPG MKTAG('m','j','p','g')
 
@@ -782,6 +783,7 @@ Codec *AVIDecoder::AVIVideoTrack::createCodec() {
 		return new Indeo3Decoder(_bmInfo.width, _bmInfo.height);
 #ifdef VIDEO_CODECS_TRUEMOTION1_H
 	case ID_DUCK:
+	case ID_DUCK2:
 		return new TrueMotion1Decoder(_bmInfo.width, _bmInfo.height);
 #endif
 #ifdef USE_MPEG2






More information about the Scummvm-git-logs mailing list