Browse Source

rgb555 alpha extraction fix

Originally committed as revision 1810 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Fabrice Bellard 23 years ago
parent
commit
b5ff5e22e9
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/imgconvert.c

+ 1
- 1
libavcodec/imgconvert.c View File

@@ -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…
Cancel
Save