aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-rw-r--r--graphics/dxa_player.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/graphics/dxa_player.cpp b/graphics/dxa_player.cpp
index 3c38faf167..9d9ca4bb14 100644
--- a/graphics/dxa_player.cpp
+++ b/graphics/dxa_player.cpp
@@ -126,6 +126,7 @@ bool DXAPlayer::loadFile(const char *filename) {
if (!_frameBuffer1 || !_frameBuffer2)
error("DXAPlayer: Error allocating frame buffers (size %d)", _frameSize);
+ _scaledBuffer = 0;
if (_scaleMode != S_NONE) {
_scaledBuffer = (uint8 *)malloc(_frameSize);
if (!_scaledBuffer)