From 741b5fd44a00adc5fb29e44f607b90cbdb3a8c00 Mon Sep 17 00:00:00 2001 From: Thad Ward <coderjoe69@yahoo.com> Date: Thu, 24 Jun 2010 15:22:33 +0000 Subject: [PATCH] =?UTF-8?q?Set=20an=20opaque=20alpha=20value=20when=20deco?= =?UTF-8?q?ding=20rgba=20ffv1.=20Patch=20by=20Thad=20Ward=20coderjoe69?= =?UTF-8?q?=C2=A4yahoo=C2=B0com?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 23757 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/ffv1.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c index 12056e12085..7034caa0b4c 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); } } } -- GitLab