diff options
author | Matthew Hoops | 2014-05-27 00:09:11 -0400 |
---|---|---|
committer | Matthew Hoops | 2014-05-27 00:09:11 -0400 |
commit | 5891ef4d89936917aaa7edf06f5d1fbc06a1271f (patch) | |
tree | 1ae5fcd5c7cd3325c49ae50e13c6a602cade26aa /image/codecs/codec.cpp | |
parent | 53332f8ab879b150883544fb8ea3987bdc190cdf (diff) | |
download | scummvm-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.cpp | 2 |
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'): |