From d2c2c5ec01892035946427ad05d6674cefacec2d Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 18 Nov 2012 20:52:47 +0000 Subject: VIDEO: Fix compiler warning in SVQ1 codec. --- video/codecs/svq1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video/codecs') diff --git a/video/codecs/svq1.cpp b/video/codecs/svq1.cpp index 56b376f590..fd40a0100c 100644 --- a/video/codecs/svq1.cpp +++ b/video/codecs/svq1.cpp @@ -223,7 +223,7 @@ const Graphics::Surface *SVQ1Decoder::decodeImage(Common::SeekableReadStream *st // Prediction Motion Vector Common::Point *pmv = new Common::Point[(width / 8) + 3]; - byte *previous; + byte *previous = 0; if (frameType == 2) { // B Frame warning("B Frame not supported currently"); //previous = _next[i]; -- cgit v1.2.3