mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-04-24 17:12:34 +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;
|
b += g;
|
||||||
r += g;
|
r += g;
|
||||||
|
|
||||||
src[x + stride*y]= b + (g<<8) + (r<<16);
|
src[x + stride*y]= b + (g<<8) + (r<<16) + (0xFF<<24);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user