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

--- Encoder/encoder.c.orig	2005-12-30 23:14:44.000000000 +0000
+++ Encoder/encoder.c
@@ -102,6 +102,8 @@ int lutmax;					/* lutmax is either 256 
 int bpp16;               			/* Indicates if 16 bits per pixel mode or not */
 char *mappingtablefilename=NULL; 		/* Mapping table filename */
 
+static FILE *msgfile;
+
 /* reset */
 #ifndef FIXRESET
 int	RESET;
@@ -674,9 +676,10 @@ int main (int argc, char *argv[]) {
 	int temp_columns;
 	int MCUs_counted;
 
-
 	pixel *local_scanl0,*local_scanl1,*local_pscanline,*local_cscanline;
 
+	msgfile = stdout;
+
 	application_header = all_header = 0;
 
 	/* Parse the parameters, initialize */