summaryrefslogtreecommitdiff
path: root/graphics/jpeg_ls/patches/patch-al
blob: 87b419260439e5c771790fc27622b6154d101082 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-al,v 1.1 2005/12/30 23:23:54 joerg Exp $

--- Encoder/jpegmark.c.orig	2005-12-30 23:16:58.000000000 +0000
+++ Encoder/jpegmark.c
@@ -287,7 +287,7 @@ int write_jpegls_extmarker(FILE *out, jp
 				i=200;
 
 			jp->TABLE[TID][i] = read_n_bytes(tablefile, Wt);
-			if feof(tablefile)
+			if (feof(tablefile))
 			{
 				fprintf(stderr,"Error Reading Table File - Premature EOF found.\n");
 				exit(1);