aboutsummaryrefslogtreecommitdiff
path: root/video
diff options
context:
space:
mode:
authorEugene Sandulenko2014-02-07 09:42:58 +0200
committerEugene Sandulenko2014-02-07 09:42:58 +0200
commit9b8e6f54fca6e88557ad0815fd71f12fd409cd30 (patch)
tree7f87dff88b6846f26831fa940676a219686406c2 /video
parentf5ea651e39dfce1a16367ef36b1532d74079f45a (diff)
downloadscummvm-rg350-9b8e6f54fca6e88557ad0815fd71f12fd409cd30.tar.gz
scummvm-rg350-9b8e6f54fca6e88557ad0815fd71f12fd409cd30.tar.bz2
scummvm-rg350-9b8e6f54fca6e88557ad0815fd71f12fd409cd30.zip
VIDEO: Add additional FourCC appearing in some Zvision engine game versions
Diffstat (limited to 'video')
-rw-r--r--video/avi_decoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/avi_decoder.cpp b/video/avi_decoder.cpp
index bae5b7babd..4e561cfddf 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