mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
typo fix found by ubitux
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@31035 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -174,7 +174,7 @@ static inline unsigned char get_nibble(packet_t *packet)
|
||||
static inline int mkalpha(int i)
|
||||
{
|
||||
/* In mplayer's alpha planes, 0 is transparent, then 1 is nearly
|
||||
opaque upto 255 which is transparent */
|
||||
opaque upto 255 which is fully opaque */
|
||||
// extend 4 -> 8 bit
|
||||
i |= i << 4;
|
||||
return (uint8_t)(-i);
|
||||
|
||||
Reference in New Issue
Block a user