Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/LAVFilters.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2013-09-11 21:21:28 +0400
committerHendrik Leppkes <h.leppkes@gmail.com>2013-09-11 21:21:28 +0400
commit7d1fd4b698fe6391d0cc2fd8cf2a0cd850d05287 (patch)
treebd512c9bc21153efac8fb282ef181313bbf9313a
parent527958576ff58b3492d2fd16b7c1e4c813050176 (diff)
Initialize alpha value to 0
Fixes CID #1041174
-rw-r--r--decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
index 8db0af6b..fee59e5b 100644
--- a/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
+++ b/decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp
@@ -562,7 +562,7 @@ CLAVSubRect* CLAVSubtitleProvider::ProcessDVDHLI(CLAVSubRect *rect)
if (x+rect->position.x < m_pHLI->StartX || x+rect->position.x > m_pHLI->StopX)
continue;
uint8_t idx = pixelsPal[x];
- uint8_t alpha;
+ uint8_t alpha = 0;
switch (idx) {
case 0:
idx = m_pHLI->ColCon.backcol;