aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/qt_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-10 02:09:48 +0000
committerMatthew Hoops2010-12-10 02:09:48 +0000
commitcf65709c4570d59cf12114c36310923911d7c737 (patch)
treeff9f97cc0196f36879059808e60e7130eb71f37b /graphics/video/qt_decoder.h
parent4393ef1bd5c607df678d78b56dd9c1e515dae84f (diff)
downloadscummvm-rg350-cf65709c4570d59cf12114c36310923911d7c737.tar.gz
scummvm-rg350-cf65709c4570d59cf12114c36310923911d7c737.tar.bz2
scummvm-rg350-cf65709c4570d59cf12114c36310923911d7c737.zip
VIDEO: Fix QuickTimeDecoder::hasDirtyPalette() by allocating the palette only for 8bpp videos
svn-id: r54849
Diffstat (limited to 'graphics/video/qt_decoder.h')
-rw-r--r--graphics/video/qt_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/qt_decoder.h b/graphics/video/qt_decoder.h
index f1f9fd98d2..6198c2e24b 100644
--- a/graphics/video/qt_decoder.h
+++ b/graphics/video/qt_decoder.h
@@ -158,7 +158,7 @@ protected:
// Video
char codecName[32];
uint16 colorTableId;
- byte palette[256 * 3];
+ byte *palette;
Codec *videoCodec;
// Audio