summaryrefslogtreecommitdiff
path: root/graphics/jpeg_ls/patches/patch-ai
blob: 19d678406479af1e042552e9701051a5692d702b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ai,v 1.1 2005/12/30 23:23:54 joerg Exp $

--- Decoder/decoder.c.orig	2005-12-30 23:10:49.000000000 +0000
+++ Decoder/decoder.c
@@ -99,6 +99,7 @@ int lossy;						/* Indicates if in lossy
 int bpp16;						/* Indicates if 16 bits per pixel mode or not */
 int lutmax;						/* lutmax is either 256 or 4501 */
 
+static FILE *msgfile;
 
 
 
@@ -871,7 +872,8 @@ int main (int argc, char *argv[]) {
 		tot_out = 0;
 	pixel *local_scanl0,*local_scanl1,*local_pscanline,*local_cscanline;
 	int MCUs_counted;
-	
+
+	msgfile = stdout;	
 	
 	/* Parse the parameters, initialize */
 	/* Not yet fully implemented */