summaryrefslogtreecommitdiff
path: root/src/lib/emile
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2017-06-05 11:54:54 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-05 12:07:57 -0700
commit7afbe91ca5327a180c2a5b2017d9964aa3011c22 (patch)
treef976e9fc02b22e0e477e3e7c5adc0da9cc2fc4c2 /src/lib/emile
parent2995cc16b7bf30b5972bd86bea3c1a0c591b89c0 (diff)
emile: fallthrough is legal here as we handle fallback case when caller doesn't know about GRY8.
Diffstat (limited to 'src/lib/emile')
-rw-r--r--src/lib/emile/emile_image.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib/emile/emile_image.c b/src/lib/emile/emile_image.c
index 309dbbb999..bb94f2cf3d 100644
--- a/src/lib/emile/emile_image.c
+++ b/src/lib/emile/emile_image.c
@@ -1844,6 +1844,10 @@ _emile_jpeg_data(Emile_Image *image,
1844 cinfo.out_color_space = JCS_GRAYSCALE; 1844 cinfo.out_color_space = JCS_GRAYSCALE;
1845 break; 1845 break;
1846 } 1846 }
1847 /* The caller doesn't handle GRAYSCALE,
1848 * fallback to RGB.
1849 */
1850 EINA_FALLTHROUGH;
1847 1851
1848 case JCS_RGB: 1852 case JCS_RGB:
1849 case JCS_YCbCr: 1853 case JCS_YCbCr: