]> source.dussan.org Git - tigervnc.git/commitdiff
Remove unnecessary code
authorDRC <dcommander@users.sourceforge.net>
Sun, 5 Apr 2009 21:47:40 +0000 (21:47 +0000)
committerDRC <dcommander@users.sourceforge.net>
Sun, 5 Apr 2009 21:47:40 +0000 (21:47 +0000)
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3755 3789f03b-4d11-0410-bbf8-ca57d06f2519

common/jpeg/jccolor.c

index f20ed9de1e23be2985e80d20c82a335c72007ed4..8d3feb8d9cb7af64ecaa6455489fcef024169043 100644 (file)
@@ -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: