[Scummvm-cvs-logs] scummvm master -> d2c2c5ec01892035946427ad05d6674cefacec2d

digitall dgturner at iee.org
Sun Nov 18 21:54:14 CET 2012


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .

Summary:
d2c2c5ec01 VIDEO: Fix compiler warning in SVQ1 codec.


Commit: d2c2c5ec01892035946427ad05d6674cefacec2d
    https://github.com/scummvm/scummvm/commit/d2c2c5ec01892035946427ad05d6674cefacec2d
Author: D G Turner (digitall at scummvm.org)
Date: 2012-11-18T12:52:47-08:00

Commit Message:
VIDEO: Fix compiler warning in SVQ1 codec.

Changed paths:
    video/codecs/svq1.cpp



diff --git a/video/codecs/svq1.cpp b/video/codecs/svq1.cpp
index 56b376f..fd40a01 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];






More information about the Scummvm-git-logs mailing list