From ccbe07bd815472f7d1ff76400d83206bb6c31261 Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Mon, 14 Nov 2016 20:42:21 -0500 Subject: IMAGE: Fix setting frame sizes in Indeo decoders --- image/codecs/indeo5.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'image/codecs/indeo5.cpp') diff --git a/image/codecs/indeo5.cpp b/image/codecs/indeo5.cpp index e3f424957e..7c16a3a6de 100644 --- a/image/codecs/indeo5.cpp +++ b/image/codecs/indeo5.cpp @@ -84,7 +84,7 @@ const Graphics::Surface *Indeo5Decoder::decodeFrame(Common::SeekableReadStream & _ctx._frameSize = stream.size(); // Set up the GetBits instance for reading the data - _ctx._gb = new GetBits(new Common::MemoryReadStream(_ctx._frameData, _ctx._frameSize * 8)); + _ctx._gb = new GetBits(new Common::MemoryReadStream(_ctx._frameData, _ctx._frameSize)); // Decode the frame int err = decodeIndeoFrame(); -- cgit v1.2.3