about summary refs log tree commit diff
path: root/converter/other/fiasco/input/read.c
diff options
context:
space:
mode:
authorgiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-12 20:40:29 +0000
committergiraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8>2012-02-12 20:40:29 +0000
commit47e6714f1bb9be3587d5c76d5638887b595e6355 (patch)
treea691961ad493be82b6c9b206304a458bd603a9e4 /converter/other/fiasco/input/read.c
parent7270a56af11a9bf5ac18baa50dc8fedbd545af7f (diff)
downloadnetpbm-mirror-47e6714f1bb9be3587d5c76d5638887b595e6355.tar.gz
netpbm-mirror-47e6714f1bb9be3587d5c76d5638887b595e6355.tar.xz
netpbm-mirror-47e6714f1bb9be3587d5c76d5638887b595e6355.zip
cleanup
git-svn-id: http://svn.code.sf.net/p/netpbm/code/trunk@1643 9d0c8265-081b-0410-96cb-a4ca84ce46f8
Diffstat (limited to 'converter/other/fiasco/input/read.c')
-rw-r--r--converter/other/fiasco/input/read.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/converter/other/fiasco/input/read.c b/converter/other/fiasco/input/read.c
index 9690a6c5..9ac204f6 100644
--- a/converter/other/fiasco/input/read.c
+++ b/converter/other/fiasco/input/read.c
@@ -157,7 +157,7 @@ open_wfa (const char *filename, wfa_info_t *wi)
 	 unsigned lx = log2 (wi->width - 1) + 1;
 	 unsigned ly = log2 (wi->height - 1) + 1;
       
-	 wi->level = max (lx, ly) * 2 - ((ly == lx + 1) ? 1 : 0);
+	 wi->level = MAX(lx, ly) * 2 - ((ly == lx + 1) ? 1 : 0);
       }
       wi->chroma_max_states = wi->color ? read_rice_code (rice_k, input) : -1;
       wi->p_min_level       = read_rice_code (rice_k, input);