aboutsummaryrefslogtreecommitdiff
path: root/image/codecs/indeo/vlc.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2016-09-11 18:04:49 +0200
committerEugene Sandulenko2016-09-11 18:04:49 +0200
commita035334cbdec8b618506156f13f274f81004fd8d (patch)
treed67ee66fbcbcf738630ed384b00713478ba00e7c /image/codecs/indeo/vlc.cpp
parentfe65d374d18ec7c5abea7df7fed499f3b9e049e4 (diff)
downloadscummvm-rg350-a035334cbdec8b618506156f13f274f81004fd8d.tar.gz
scummvm-rg350-a035334cbdec8b618506156f13f274f81004fd8d.tar.bz2
scummvm-rg350-a035334cbdec8b618506156f13f274f81004fd8d.zip
IMAGE: Indeo: Replace memory-related functions with standard ones
Diffstat (limited to 'image/codecs/indeo/vlc.cpp')
-rw-r--r--image/codecs/indeo/vlc.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/image/codecs/indeo/vlc.cpp b/image/codecs/indeo/vlc.cpp
index baf3984869..1793952bcf 100644
--- a/image/codecs/indeo/vlc.cpp
+++ b/image/codecs/indeo/vlc.cpp
@@ -165,7 +165,7 @@ int VLC::init_vlc(int nbBits, int nbCodes, const void *p_bits, int bitsWrap,
vlc->_tableAllocated = 0;
vlc->_tableSize = 0;
- buf = (VLCcode *)avMallocArray((nbCodes + 1), sizeof(VLCcode));
+ buf = (VLCcode *)malloc((nbCodes + 1) * sizeof(VLCcode));
assert(buf);
}