From 43e04d19c4e398989a1ba7184d49657b7cedb1cf Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Mon, 1 Apr 2019 20:41:56 +0200 Subject: VIDEO: Fix Bink clearing color comment YUV 000 is a green, not black. Thanks DrMcCoy for noticing and fixing the issue. --- video/bink_decoder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'video') diff --git a/video/bink_decoder.cpp b/video/bink_decoder.cpp index 0f33d21f81..406c6e4d34 100644 --- a/video/bink_decoder.cpp +++ b/video/bink_decoder.cpp @@ -302,7 +302,7 @@ BinkDecoder::BinkVideoTrack::BinkVideoTrack(uint32 width, uint32 height, const G _oldPlanes[2] = new byte[_uvBlockWidth * 8 * _uvBlockHeight * 8]; // V, 1/4 resolution _oldPlanes[3] = new byte[_yBlockWidth * 8 * _yBlockHeight * 8]; // A - // Initialize the video with solid black + // Initialize the video with solid green memset(_curPlanes[0], 0, _yBlockWidth * 8 * _yBlockHeight * 8); memset(_curPlanes[1], 0, _uvBlockWidth * 8 * _uvBlockHeight * 8); memset(_curPlanes[2], 0, _uvBlockWidth * 8 * _uvBlockHeight * 8); -- cgit v1.2.3