File: 23_jpeg.c-build-fix.patch

package info (click to toggle)
xloadimage 4.1-27
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,880 kB
  • sloc: ansic: 36,063; makefile: 306; asm: 284; sh: 144
file content (17 lines) | stat: -rw-r--r-- 617 bytes parent folder | download | duplicates (2)
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))) {