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/sword25/fmv/movieplayer.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/sword25/fmv/movieplayer.cpp')
-rw-r--r-- | engines/sword25/fmv/movieplayer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword25/fmv/movieplayer.cpp b/engines/sword25/fmv/movieplayer.cpp index 4193e02b2e..356c2d11ff 100644 --- a/engines/sword25/fmv/movieplayer.cpp +++ b/engines/sword25/fmv/movieplayer.cpp @@ -124,7 +124,7 @@ bool MoviePlayer::pause() { void MoviePlayer::update() { if (_decoder.isVideoLoaded()) { - Graphics::Surface *s = _decoder.decodeNextFrame(); + const Graphics::Surface *s = _decoder.decodeNextFrame(); if (s) { // Transfer the next frame assert(s->bytesPerPixel == 4); |