aboutsummaryrefslogtreecommitdiff
path: root/video/codecs/cinepak.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/codecs/cinepak.cpp')
-rw-r--r--video/codecs/cinepak.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/video/codecs/cinepak.cpp b/video/codecs/cinepak.cpp
index 2f5cb73561..28fcd67a03 100644
--- a/video/codecs/cinepak.cpp
+++ b/video/codecs/cinepak.cpp
@@ -89,7 +89,7 @@ const Graphics::Surface *CinepakDecoder::decodeImage(Common::SeekableReadStream
if (!_curFrame.surface) {
_curFrame.surface = new Graphics::Surface();
- _curFrame.surface->create(_curFrame.width, _curFrame.height, _pixelFormat.bytesPerPixel);
+ _curFrame.surface->create(_curFrame.width, _curFrame.height, _pixelFormat);
}
// Reset the y variable.