aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo/indeo.h
diff options
context:
space:
mode:
authorColin Snover2017-08-24 16:41:07 -0500
committerColin Snover2017-08-24 20:34:55 -0500
commitd39a9272bf0334e5e98801ba06df89b4f59b79b8 (patch)
tree8b3ee2f3e4d4b86a0bab6fe6b6042e861dd09fab /image/codecs/indeo/indeo.h
parent7dd2c0342d9a650d6bdc4864c702921d3b3fb070 (diff)
downloadscummvm-rg350-d39a9272bf0334e5e98801ba06df89b4f59b79b8.tar.gz
scummvm-rg350-d39a9272bf0334e5e98801ba06df89b4f59b79b8.tar.bz2
scummvm-rg350-d39a9272bf0334e5e98801ba06df89b4f59b79b8.zip
IMAGE: Remove unnecessary extra heap allocation of Indeo surface
Diffstat (limited to 'image/codecs/indeo/indeo.h')
-rw-r--r--image/codecs/indeo/indeo.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/indeo/indeo.h b/image/codecs/indeo/indeo.h
index 962d06817d..6c2a6b17a2 100644
--- a/image/codecs/indeo/indeo.h
+++ b/image/codecs/indeo/indeo.h
@@ -519,7 +519,7 @@ private:
protected:
IVI45DecContext _ctx;
Graphics::PixelFormat _pixelFormat;
- Graphics::Surface *_surface;
+ Graphics::Surface _surface;
/**
* Scan patterns shared between indeo4 and indeo5