7173145: Improve in-memory representation of splashscreens
Reviewed-by: bae, mschoene
This commit is contained in:
parent
7bd671250d
commit
69a6be0305
@ -133,6 +133,10 @@ SplashDecodeJpeg(Splash * splash, struct jpeg_decompress_struct *cinfo)
|
||||
ImageFormat srcFormat;
|
||||
|
||||
jpeg_read_header(cinfo, TRUE);
|
||||
|
||||
// SplashScreen jpeg converter expects data in RGB format only
|
||||
cinfo->out_color_space = JCS_RGB;
|
||||
|
||||
jpeg_start_decompress(cinfo);
|
||||
|
||||
SplashCleanup(splash);
|
||||
|
Loading…
x
Reference in New Issue
Block a user