1 diff -ur fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx fltk-1.3.2/src/Fl_JPEG_Image.cxx
2 --- fltk-1.3.2.orig/src/Fl_JPEG_Image.cxx 2012-11-09 16:02:08.000000000 +0000
3 +++ fltk-1.3.2/src/Fl_JPEG_Image.cxx 2013-05-06 10:51:18.248634358 +0000
6 jpeg_create_decompress(&dinfo);
7 jpeg_stdio_src(&dinfo, fp);
8 - jpeg_read_header(&dinfo, 1);
9 + jpeg_read_header(&dinfo, TRUE);
11 dinfo.quantize_colors = (boolean)FALSE;
12 dinfo.out_color_space = JCS_RGB;
15 jpeg_create_decompress(&dinfo);
16 jpeg_mem_src(&dinfo, data);
17 - jpeg_read_header(&dinfo, 1);
18 + jpeg_read_header(&dinfo, TRUE);
20 dinfo.quantize_colors = (boolean)FALSE;
21 dinfo.out_color_space = JCS_RGB;