diff options
author | Willem Jan Palenstijn | 2017-07-24 22:16:53 +0200 |
---|---|---|
committer | Willem Jan Palenstijn | 2017-08-24 19:46:59 +0200 |
commit | edfdbb9dd749cde96c1e155a1e5e5e00856adcc1 (patch) | |
tree | 92b768d2182e0055f0f11ccc322dc118d666f6e5 /image/codecs/indeo | |
parent | 0c8f95603faca0f5a185bd421b34684645ed8b4d (diff) | |
download | scummvm-rg350-edfdbb9dd749cde96c1e155a1e5e5e00856adcc1.tar.gz scummvm-rg350-edfdbb9dd749cde96c1e155a1e5e5e00856adcc1.tar.bz2 scummvm-rg350-edfdbb9dd749cde96c1e155a1e5e5e00856adcc1.zip |
IMAGE: Use new BitStreamMemory class for indeo
Diffstat (limited to 'image/codecs/indeo')
-rw-r--r-- | image/codecs/indeo/get_bits.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/image/codecs/indeo/get_bits.h b/image/codecs/indeo/get_bits.h index c2d593bfb5..f972e68ae0 100644 --- a/image/codecs/indeo/get_bits.h +++ b/image/codecs/indeo/get_bits.h @@ -31,15 +31,14 @@ namespace Indeo { /** * Intel Indeo Bitstream reader */ -class GetBits : public Common::BitStream8LSB { +class GetBits : public Common::BitStreamMemory8LSB { public: /** * Constructor * @param stream Source stream to reader from * @param disposeAfterUse Whether to destroy stream in destructor */ - GetBits(Common::SeekableReadStream *stream, DisposeAfterUse::Flag disposeAfterUse - = DisposeAfterUse::YES) : Common::BitStream8LSB(stream, disposeAfterUse) {} + GetBits(const uint8 *ptr, uint32 size) : Common::BitStreamMemory8LSB(new Common::BitStreamMemoryStream(ptr, size), DisposeAfterUse::YES) {} /** * The number of bits left |