mirror of
https://github.com/mpv-player/mpv
synced 2025-02-23 16:36:56 +00:00
fixed 8-bit variant
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3101 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
09c4c29277
commit
9fcf817cd7
3
msvidc.c
3
msvidc.c
@ -293,7 +293,8 @@ void AVI_Decode_Video1_8(
|
||||
// check if it's an 8-color block
|
||||
else if (byte_b >= 0x90)
|
||||
{
|
||||
// 8-color encoding
|
||||
flags = (byte_b << 8) | byte_a;
|
||||
|
||||
quad[0][0].c1 = (unsigned char)encoded[stream_ptr++];
|
||||
quad[0][0].c2 = (unsigned char)encoded[stream_ptr++];
|
||||
quad[1][0].c1 = (unsigned char)encoded[stream_ptr++];
|
||||
|
Loading…
Reference in New Issue
Block a user