diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-09-11 21:21:28 +0400 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2013-09-11 21:21:28 +0400 |
commit | 7d1fd4b698fe6391d0cc2fd8cf2a0cd850d05287 (patch) | |
tree | bd512c9bc21153efac8fb282ef181313bbf9313a | |
parent | 527958576ff58b3492d2fd16b7c1e4c813050176 (diff) |
Initialize alpha value to 0
Fixes CID #1041174
-rw-r--r-- | decoder/LAVVideo/subtitles/LAVSubtitleProvider.cpp | 2 |
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; |