Files
pkgsrc-ng/graphics/jpeg_ls/patches/patch-ak
2013-09-26 17:14:40 +02:00

26 lines
694 B
Plaintext

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