1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-11-21 10:55:51 +02:00

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
This commit is contained in:
Thad Ward 2010-06-24 15:22:33 +00:00 committed by Benoit Fouet
parent 30cdfb49b4
commit 741b5fd44a

View File

@ -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);
}
}
}