diff options
author | Sven Hesse | 2009-11-28 00:32:16 +0000 |
---|---|---|
committer | Sven Hesse | 2009-11-28 00:32:16 +0000 |
commit | 07d8f1c89b657ae663700e5bc4b6341693f2271d (patch) | |
tree | a307cf7d6b26cdfb317c50962e25e7ea0fa21d9c | |
parent | 87c26fe54b5f17e610a95c8fec9f10e0f1bef316 (diff) | |
download | scummvm-rg350-07d8f1c89b657ae663700e5bc4b6341693f2271d.tar.gz scummvm-rg350-07d8f1c89b657ae663700e5bc4b6341693f2271d.tar.bz2 scummvm-rg350-07d8f1c89b657ae663700e5bc4b6341693f2271d.zip |
Fixing a valgrind warning by memsetting _palette
svn-id: r46169
-rw-r--r-- | graphics/video/avi_decoder.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/video/avi_decoder.cpp b/graphics/video/avi_decoder.cpp index 8d76b7106e..c28a6342de 100644 --- a/graphics/video/avi_decoder.cpp +++ b/graphics/video/avi_decoder.cpp @@ -45,6 +45,7 @@ AviDecoder::AviDecoder(Audio::Mixer *mixer) : _mixer(mixer) { _audStream = NULL; _fileStream = NULL; _audHandle = new Audio::SoundHandle(); + memset(_palette, 0, sizeof(_palette)); memset(&_wvInfo, 0, sizeof(PCMWAVEFORMAT)); memset(&_bmInfo, 0, sizeof(BITMAPINFOHEADER)); memset(&_vidsHeader, 0, sizeof(AVIStreamHeader)); |