[FFmpeg-cvslog] r23757 - trunk/libavcodec/ffv1.c

benoit subversion
Thu Jun 24 17:22:33 CEST 2010


Author: benoit
Date: Thu Jun 24 17:22:33 2010
New Revision: 23757

Log:
Set an opaque alpha value when decoding rgba ffv1.
Patch by Thad Ward coderjoe69?yahoo?com

Modified:
   trunk/libavcodec/ffv1.c

Modified: trunk/libavcodec/ffv1.c
==============================================================================
--- trunk/libavcodec/ffv1.c	Thu Jun 24 17:10:06 2010	(r23756)
+++ trunk/libavcodec/ffv1.c	Thu Jun 24 17:22:33 2010	(r23757)
@@ -957,7 +957,7 @@ static void decode_rgb_frame(FFV1Context
             b += g;
             r += g;
 
-            src[x + stride*y]= b + (g<<8) + (r<<16);
+            src[x + stride*y]= b + (g<<8) + (r<<16) + (0xFF<<24);
         }
     }
 }



More information about the ffmpeg-cvslog mailing list