mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +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:
parent
30cdfb49b4
commit
741b5fd44a
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user