aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/truemotion1.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/truemotion1.cpp')
-rw-r--r--video/codecs/truemotion1.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/video/codecs/truemotion1.cpp b/video/codecs/truemotion1.cpp
index a0456869ab..a6483ec665 100644
--- a/video/codecs/truemotion1.cpp
+++ b/video/codecs/truemotion1.cpp
@@ -92,7 +92,8 @@ TrueMotion1Decoder::TrueMotion1Decoder(uint16 width, uint16 height) {
_width = width;
_height = height;
- _surface->create(width, height, 2);
+ // TODO: Use correct PixelFormat
+ _surface->create(width, height, Graphics::PixelFormat(2, 0, 0, 0, 0, 0, 0, 0, 0));
// there is a vertical predictor for each pixel in a line; each vertical
// predictor is 0 to start with