aboutsummaryrefslogtreecommitdiff
path: root/video/psx_decoder.cpp
diff options
context:
space:
mode:
authorMatthew Hoops2013-04-16 10:40:16 -0400
committerMatthew Hoops2013-04-16 10:40:16 -0400
commit43d264cb2f9264218231ba3753c8d81f3484b24f (patch)
treeab4730b695e9464e0ba84c2b774882a8d6736811 /video/psx_decoder.cpp
parent7d0af11debb8be625af90f77a912a181c98d9f37 (diff)
downloadscummvm-rg350-43d264cb2f9264218231ba3753c8d81f3484b24f.tar.gz
scummvm-rg350-43d264cb2f9264218231ba3753c8d81f3484b24f.tar.bz2
scummvm-rg350-43d264cb2f9264218231ba3753c8d81f3484b24f.zip
VIDEO: Fix uninitialized track pointers
Diffstat (limited to 'video/psx_decoder.cpp')
-rw-r--r--video/psx_decoder.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/video/psx_decoder.cpp b/video/psx_decoder.cpp
index 57c8972ee5..fd45005770 100644
--- a/video/psx_decoder.cpp
+++ b/video/psx_decoder.cpp
@@ -151,6 +151,8 @@ static const uint32 s_huffmanACSymbols[AC_CODE_COUNT] = {
PSXStreamDecoder::PSXStreamDecoder(CDSpeed speed, uint32 frameCount) : _speed(speed), _frameCount(frameCount) {
_stream = 0;
+ _videoTrack = 0;
+ _audioTrack = 0;
}
PSXStreamDecoder::~PSXStreamDecoder() {