Mercurial > mplayer.hg
comparison spudec.c @ 30993:d3143f6ec4b3
typo fix found by ubitux
author | compn |
---|---|
date | Tue, 13 Apr 2010 01:26:20 +0000 |
parents | d218228dc74d |
children | f036c0d995d5 |
comparison
equal
deleted
inserted
replaced
30992:bf1afb0fa07d | 30993:d3143f6ec4b3 |
---|---|
172 } | 172 } |
173 | 173 |
174 static inline int mkalpha(int i) | 174 static inline int mkalpha(int i) |
175 { | 175 { |
176 /* In mplayer's alpha planes, 0 is transparent, then 1 is nearly | 176 /* In mplayer's alpha planes, 0 is transparent, then 1 is nearly |
177 opaque upto 255 which is transparent */ | 177 opaque upto 255 which is fully opaque */ |
178 // extend 4 -> 8 bit | 178 // extend 4 -> 8 bit |
179 i |= i << 4; | 179 i |= i << 4; |
180 return (uint8_t)(-i); | 180 return (uint8_t)(-i); |
181 } | 181 } |
182 | 182 |