From 1ead0d8436cdea9fd6a54af6bf749297afa75a17 Mon Sep 17 00:00:00 2001 From: Matthew Hoops Date: Thu, 16 Dec 2010 01:41:11 +0000 Subject: VIDEO: Make VideoDecoder::getPalette() return a const byte pointer svn-id: r54928 --- engines/sword2/animation.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/sword2') diff --git a/engines/sword2/animation.cpp b/engines/sword2/animation.cpp index 617c254ec4..50548486f0 100644 --- a/engines/sword2/animation.cpp +++ b/engines/sword2/animation.cpp @@ -291,7 +291,7 @@ bool MoviePlayer::playVideo() { uint32 weight; byte r, g, b; - byte *palette = _decoder->getPalette(); + const byte *palette = _decoder->getPalette(); for (int i = 0; i < 256; i++) { r = *palette++; -- cgit v1.2.3