diff options
author | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-02-12 20:40:29 +0000 |
---|---|---|
committer | giraffedata <giraffedata@9d0c8265-081b-0410-96cb-a4ca84ce46f8> | 2012-02-12 20:40:29 +0000 |
commit | 47e6714f1bb9be3587d5c76d5638887b595e6355 (patch) | |
tree | a691961ad493be82b6c9b206304a458bd603a9e4 /converter/other/fiasco/codec/domain-pool.c | |
parent | 7270a56af11a9bf5ac18baa50dc8fedbd545af7f (diff) | |
download | netpbm-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/codec/domain-pool.c')
-rw-r--r-- | converter/other/fiasco/codec/domain-pool.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/converter/other/fiasco/codec/domain-pool.c b/converter/other/fiasco/codec/domain-pool.c index d7c0602f..7cc3900e 100644 --- a/converter/other/fiasco/codec/domain-pool.c +++ b/converter/other/fiasco/codec/domain-pool.c @@ -20,6 +20,8 @@ #include <stdlib.h> #include <string.h> +#include "pm_c_util.h" + #include "types.h" #include "macros.h" #include "error.h" @@ -458,7 +460,7 @@ qac_chroma (unsigned max_domains, const wfa_t *wfa, void *model) max_domains, wfa); for (n = 0; n < max_domains && domains [n] >= 0; n++) states [n] = domains [n]; - max_domains = min (max_domains, n); + max_domains = MIN(max_domains, n); Free (domains); for (old = 0, new = 0; new < max_domains && old < qac_model->n; old++) @@ -846,7 +848,7 @@ rle_chroma (unsigned max_domains, const wfa_t *wfa, void *model) states [n] = domains [n]; assert (states [0] == 0); - max_domains = min (max_domains, n); + max_domains = MIN(max_domains, n); Free (domains); Free (rle_model->states); |