changeset 11945:1acf2841dc5f libavcodec

Set an opaque alpha value when decoding rgba ffv1. Patch by Thad Ward coderjoe69¢šyahoo”ėcom
author benoit
date Thu, 24 Jun 2010 15:22:33 +0000
parents 052b9c58ccc4
children c592b59ea05f
files ffv1.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ffv1.c	Thu Jun 24 09:42:34 2010 +0000
+++ b/ffv1.c	Thu Jun 24 15:22:33 2010 +0000
@@ -957,7 +957,7 @@
             b += g;
             r += g;
 
-            src[x + stride*y]= b + (g<<8) + (r<<16);
+            src[x + stride*y]= b + (g<<8) + (r<<16) + (0xFF<<24);
         }
     }
 }