aboutsummaryrefslogtreecommitdiff
path: root/graphics/video/smk_decoder.h
diff options
context:
space:
mode:
authorMatthew Hoops2010-12-16 01:35:13 +0000
committerMatthew Hoops2010-12-16 01:35:13 +0000
commit375f32fbe94e8500a03c19ed32865efdcde8ca8e (patch)
tree3544a3da06401aea4192a7557294b61734e4d1ef /graphics/video/smk_decoder.h
parenta2bb676c19c70cd79f141650fe0587148c71702b (diff)
downloadscummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.tar.gz
scummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.tar.bz2
scummvm-rg350-375f32fbe94e8500a03c19ed32865efdcde8ca8e.zip
VIDEO: Make VideoDecoder::decodeNextFrame() return a const Surface pointer
svn-id: r54927
Diffstat (limited to 'graphics/video/smk_decoder.h')
-rw-r--r--graphics/video/smk_decoder.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/smk_decoder.h b/graphics/video/smk_decoder.h
index 5faeab4343..da64927b49 100644
--- a/graphics/video/smk_decoder.h
+++ b/graphics/video/smk_decoder.h
@@ -65,7 +65,7 @@ public:
uint16 getHeight() const { return _surface->h; }
uint32 getFrameCount() const { return _frameCount; }
uint32 getElapsedTime() const;
- Surface *decodeNextFrame();
+ const Surface *decodeNextFrame();
PixelFormat getPixelFormat() const { return PixelFormat::createFormatCLUT8(); }
byte *getPalette() { _dirtyPalette = false; return _palette; }
bool hasDirtyPalette() const { return _dirtyPalette; }