diff options
author | DRC <dcommander@users.sourceforge.net> | 2009-04-05 21:47:40 +0000 |
---|---|---|
committer | DRC <dcommander@users.sourceforge.net> | 2009-04-05 21:47:40 +0000 |
commit | ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba (patch) | |
tree | dd0909ade8210a8510474792cfd41c7bce504db4 /common/jpeg/jccolor.c | |
parent | 3c186e9a7277eda7b3eae59da6c9155831c2f145 (diff) | |
download | tigervnc-ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba.tar.gz tigervnc-ec36251df8fbcaedc5327ce0e3cd1c548e0a05ba.zip |
Remove unnecessary code
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'common/jpeg/jccolor.c')
-rw-r--r-- | common/jpeg/jccolor.c | 6 |
1 files changed, 0 insertions, 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: |