mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-02-23 23:36:57 +00:00
rgb555 alpha extraction fix
Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
0469baf14f
commit
b5ff5e22e9
@ -1104,7 +1104,7 @@ static inline unsigned int bitcopy_n(unsigned int a, int n)
|
||||
r = bitcopy_n(v >> (10 - 3), 3);\
|
||||
g = bitcopy_n(v >> (5 - 3), 3);\
|
||||
b = bitcopy_n(v << 3, 3);\
|
||||
a = bitcopy_n(v >> 15, 7);\
|
||||
a = (-(v >> 15)) & 0xff;\
|
||||
}
|
||||
|
||||
#define RGBA_OUT(d, r, g, b, a)\
|
||||
|
Loading…
Reference in New Issue
Block a user