1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
|
From: Colin Watson <cjwatson@ubuntu.com>
Subject: Fix jpeg.c build if C_ARITH_CODING_SUPPORTED is defined.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662619
Bug-Ubuntu: https://bugs.launchpad.net/bugs/935491
--- a/jpeg.c
+++ b/jpeg.c
@@ -321,8 +321,8 @@ static void parseOptions(j_compress_ptr
cinfo->arith_code = TRUE;
#else
fprintf(stderr, "jpegDump: sorry, arithmetic coding not supported\n");
- }
#endif
+ }
else if (!strncmp("grayscale", name, strlen(name)) ||
!strncmp("greyscale", name, strlen(name)) ||
!strncmp("monochrome", name, strlen(name))) {
|