From ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba Mon Sep 17 00:00:00 2001 From: DRC Date: Sun, 5 Apr 2009 21:47:40 +0000 Subject: [PATCH] Remove unnecessary code git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519 --- common/jpeg/jccolor.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/jpeg/jccolor.c b/common/jpeg/jccolor.c index f20ed9de..8d3feb8d 100644 --- a/common/jpeg/jccolor.c +++ b/common/jpeg/jccolor.c @@ -371,12 +371,6 @@ jinit_color_converter (j_compress_ptr cinfo) break; case JCS_RGB: -#if RGB_PIXELSIZE != 3 - if (cinfo->input_components != RGB_PIXELSIZE) - ERREXIT(cinfo, JERR_BAD_IN_COLORSPACE); - break; -#endif /* else share code with YCbCr */ - case JCS_EXT_RGB: case JCS_EXT_RGBX: case JCS_EXT_BGR: -- 2.39.5