diff options
author | Matthew Hoops | 2010-12-16 01:35:13 +0000 |
---|---|---|
committer | Matthew Hoops | 2010-12-16 01:35:13 +0000 |
commit | 375f32fbe94e8500a03c19ed32865efdcde8ca8e (patch) | |
tree | 3544a3da06401aea4192a7557294b61734e4d1ef /engines/agos/animation.cpp | |
parent | a2bb676c19c70cd79f141650fe0587148c71702b (diff) | |
download | scummvm-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 'engines/agos/animation.cpp')
-rw-r--r-- | engines/agos/animation.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/agos/animation.cpp b/engines/agos/animation.cpp index 4fe8f8e6bc..5406e9c7ef 100644 --- a/engines/agos/animation.cpp +++ b/engines/agos/animation.cpp @@ -267,7 +267,7 @@ void MoviePlayerDXA::copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch) { uint h = getHeight(); uint w = getWidth(); - Graphics::Surface *surface = decodeNextFrame(); + const Graphics::Surface *surface = decodeNextFrame(); byte *src = (byte *)surface->pixels; dst += y * pitch + x; @@ -428,7 +428,7 @@ void MoviePlayerSMK::copyFrameToBuffer(byte *dst, uint x, uint y, uint pitch) { uint h = getHeight(); uint w = getWidth(); - Graphics::Surface *surface = decodeNextFrame(); + const Graphics::Surface *surface = decodeNextFrame(); byte *src = (byte *)surface->pixels; dst += y * pitch + x; |