23 lines
583 B
Diff
23 lines
583 B
Diff
http://bugs.gentoo.org/479774
|
|
|
|
--- src/Fl_JPEG_Image.cxx
|
|
+++ src/Fl_JPEG_Image.cxx
|
|
@@ -155,7 +155,7 @@
|
|
|
|
jpeg_create_decompress(&dinfo);
|
|
jpeg_stdio_src(&dinfo, fp);
|
|
- jpeg_read_header(&dinfo, 1);
|
|
+ jpeg_read_header(&dinfo, TRUE);
|
|
|
|
dinfo.quantize_colors = (boolean)FALSE;
|
|
dinfo.out_color_space = JCS_RGB;
|
|
@@ -337,7 +337,7 @@
|
|
|
|
jpeg_create_decompress(&dinfo);
|
|
jpeg_mem_src(&dinfo, data);
|
|
- jpeg_read_header(&dinfo, 1);
|
|
+ jpeg_read_header(&dinfo, TRUE);
|
|
|
|
dinfo.quantize_colors = (boolean)FALSE;
|
|
dinfo.out_color_space = JCS_RGB;
|