diff options
author | Aleksoid <aleksoid@users.sourceforge.net> | 2012-03-22 07:07:51 +0400 |
---|---|---|
committer | Aleksoid <aleksoid@users.sourceforge.net> | 2012-03-22 07:07:51 +0400 |
commit | 1cccb76d00010aef40e8bba29fa3b2c9ea6f611b (patch) | |
tree | 49fa7920e76e5c69247d3f46fb00569d31513e87 /src/Subtitles | |
parent | 40bd28e75e5a975bbaa653137f7fc10beb679f1c (diff) |
Change : Improve H.264 DXVA decoder, speed up seeking on Interlaced stream; fix hang on system with Ati adapter on some I stream; code refactoring, delete unused code;
Fix : DVB Subtitle - small fix for Clut parser;
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4169 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/Subtitles')
-rw-r--r-- | src/Subtitles/DVBSub.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Subtitles/DVBSub.cpp b/src/Subtitles/DVBSub.cpp index c86a74906..0e79a212a 100644 --- a/src/Subtitles/DVBSub.cpp +++ b/src/Subtitles/DVBSub.cpp @@ -521,7 +521,7 @@ HRESULT CDVBSub::ParseClut(CGolombBuffer& gb, WORD wSegLength) pClut->Palette[entry_id].T = 0xff-((BYTE)gb.BitRead(2)<<6);
}
if(!pClut->Palette[entry_id].Y) {
- pClut->Palette[entry_id].Cr = pClut->Palette[entry_id].Cb = pClut->Palette[entry_id].T = 0;
+ pClut->Palette[entry_id].Cr = pClut->Palette[entry_id].Cb = 0;
}
pClut->Size = max (pClut->Size, entry_id);
|