aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/codec.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2014-05-27 00:09:11 -0400
committerMatthew Hoops2014-05-27 00:09:11 -0400
commit5891ef4d89936917aaa7edf06f5d1fbc06a1271f (patch)
tree1ae5fcd5c7cd3325c49ae50e13c6a602cade26aa /image/codecs/codec.cpp
parent53332f8ab879b150883544fb8ea3987bdc190cdf (diff)
downloadscummvm-rg350-5891ef4d89936917aaa7edf06f5d1fbc06a1271f.tar.gz
scummvm-rg350-5891ef4d89936917aaa7edf06f5d1fbc06a1271f.tar.bz2
scummvm-rg350-5891ef4d89936917aaa7edf06f5d1fbc06a1271f.zip
VIDEO: Handle Truemotion dimensions specially
Truemotion uses its own demuxer and seems to follow its own AVI rules. Work around it by coercing the video's dimensions to use the codec's internal dimensions.
Diffstat (limited to 'image/codecs/codec.cpp')
-rw-r--r--image/codecs/codec.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/codec.cpp b/image/codecs/codec.cpp
index 64acf3f169..6b0c7ebcfb 100644
--- a/image/codecs/codec.cpp
+++ b/image/codecs/codec.cpp
@@ -61,7 +61,7 @@ Codec *createBitmapCodec(uint32 tag, int width, int height, int bitsPerPixel) {
#ifdef IMAGE_CODECS_TRUEMOTION1_H
case MKTAG('D','U','C','K'):
case MKTAG('d','u','c','k'):
- return new TrueMotion1Decoder(width, height);
+ return new TrueMotion1Decoder();
#endif
#ifdef USE_MPEG2
case MKTAG('m','p','g','2'):