diff options
author | Matthew Hoops | 2010-12-16 01:41:11 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-16 01:41:11 +0000 |
commit | 1ead0d8436cdea9fd6a54af6bf749297afa75a17 (patch) | |
tree | 30803cfea2304588f235456fda98554fb3ec9807 /graphics/video/video_decoder.cpp | |
parent | 375f32fbe94e8500a03c19ed32865efdcde8ca8e (diff) | |
download | scummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.tar.gz scummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.tar.bz2 scummvm-rg350-1ead0d8436cdea9fd6a54af6bf749297afa75a17.zip |
VIDEO: Make VideoDecoder::getPalette() return a const byte pointer
svn-id: r54928
Diffstat (limited to 'graphics/video/video_decoder.cpp')
-rw-r--r-- | graphics/video/video_decoder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/video_decoder.cpp b/graphics/video/video_decoder.cpp index 081f47bf78..da3aae2821 100644 --- a/graphics/video/video_decoder.cpp +++ b/graphics/video/video_decoder.cpp @@ -50,7 +50,7 @@ uint32 VideoDecoder::getElapsedTime() const { } void VideoDecoder::setSystemPalette() { - byte *vidPalette = getPalette(); + const byte *vidPalette = getPalette(); byte *sysPalette = new byte[256 * 4]; for (uint16 i = 0; i < 256; i++) { |