diff options
author | Thad Ward <coderjoe69@yahoo.com> | 2010-06-24 15:22:33 +0000 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2010-06-24 15:22:33 +0000 |
commit | 741b5fd44a00adc5fb29e44f607b90cbdb3a8c00 (patch) | |
tree | ba4cfaa6a163309f7a878c8e75a6ac0891351c23 | |
parent | 30cdfb49b45e1802baabc3b4008a0eba03c29cfe (diff) | |
download | ffmpeg-741b5fd44a00adc5fb29e44f607b90cbdb3a8c00.tar.gz |
Set an opaque alpha value when decoding rgba ffv1.
Patch by Thad Ward coderjoe69¤yahoo°com
Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/ffv1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 12056e1208..7034caa0b4 100644 --- a/libavcodec/ffv1.c +++ b/libavcodec/ffv1.c @@ -957,7 +957,7 @@ static void decode_rgb_frame(FFV1Context *s, uint32_t *src, int w, int h, int st b += g; r += g; - src[x + stride*y]= b + (g<<8) + (r<<16); + src[x + stride*y]= b + (g<<8) + (r<<16) + (0xFF<<24); } } } |