aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2012-11-15 04:31:33 +0000
committerCarsten Haitzler <raster@rasterman.com>2012-11-15 04:31:33 +0000
commit7873cc212485913449300e31b98cf8f01cfe98c3 (patch)
tree9ecfd6efde9924efaefd2041383d3f51c3bd6c20
parentlets not have system("format c:") even tho its amusing as it just (diff)
downloadefl-7873cc212485913449300e31b98cf8f01cfe98c3.tar.gz
warn-- for new jpect color conversion modes - default case.
SVN revision: 79311
-rw-r--r--src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c25
1 files changed, 14 insertions, 11 deletions
diff --git a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
index 06705b2acd..64d948f578 100644
--- a/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
+++ b/src/modules/evas/loaders/jpeg/evas_image_load_jpeg.c
@@ -622,17 +622,20 @@ evas_image_load_file_data_jpeg_internal(Image_Entry *ie,
/* GRAYSCLAE => RGB YCbCr => RGB and YCCK => CMYK */
switch (cinfo.jpeg_color_space)
{
- case JCS_UNKNOWN:
- break;
- case JCS_GRAYSCALE:
- case JCS_RGB:
- case JCS_YCbCr:
- cinfo.out_color_space = JCS_RGB;
- break;
- case JCS_CMYK:
- case JCS_YCCK:
- cinfo.out_color_space = JCS_CMYK;
- break;
+ case JCS_UNKNOWN:
+ break;
+ case JCS_GRAYSCALE:
+ case JCS_RGB:
+ case JCS_YCbCr:
+ cinfo.out_color_space = JCS_RGB;
+ break;
+ case JCS_CMYK:
+ case JCS_YCCK:
+ cinfo.out_color_space = JCS_CMYK;
+ break;
+ default:
+ cinfo.out_color_space = JCS_RGB;
+ break;
}
/* head decoding */