diff options
author | Sven Hesse | 2011-01-16 16:27:22 +0000 |
---|---|---|
committer | Sven Hesse | 2011-01-16 16:27:22 +0000 |
commit | afd101c526872272558a8c23f3e2cb67de8da7dc (patch) | |
tree | f766b8f13f0cd16e62dcef01fd78fd8ed4745004 /graphics/video/coktel_decoder.h | |
parent | 23c1184d80fead3aea38f9f614fd223b91132039 (diff) | |
download | scummvm-rg350-afd101c526872272558a8c23f3e2cb67de8da7dc.tar.gz scummvm-rg350-afd101c526872272558a8c23f3e2cb67de8da7dc.tar.bz2 scummvm-rg350-afd101c526872272558a8c23f3e2cb67de8da7dc.zip |
VIDEO: Add range checks to deLZ77()
svn-id: r55258
Diffstat (limited to 'graphics/video/coktel_decoder.h')
-rw-r--r-- | graphics/video/coktel_decoder.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/video/coktel_decoder.h b/graphics/video/coktel_decoder.h index 6f8d79b4d6..5f81dea776 100644 --- a/graphics/video/coktel_decoder.h +++ b/graphics/video/coktel_decoder.h @@ -191,7 +191,7 @@ protected: void freeSurface(); // Decompression - void deLZ77(byte *dest, byte *src); + uint32 deLZ77(byte *dest, const byte *src, uint32 srcSize, uint32 destSize); void deRLE(byte *&destPtr, const byte *&srcPtr, int16 destLen, int16 srcLen); // Block rendering |