$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 */
