summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-10 18:33:20 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-02-10 18:33:20 (GMT)
commit192c316dd5de41d9de2b8489406abe94bffccb7b (patch)
treef24ee502aab010bd3e3e373eaeda07a0f4ea9d0c /tools/h5repack/h5repack.c
parentf1031738ef0f945a3f1d2b8f90363ee657220e17 (diff)
downloadhdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.zip
hdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.tar.gz
hdf5-192c316dd5de41d9de2b8489406abe94bffccb7b.tar.bz2
[svn-r8176] Purpose:
new feature, bug fix, changed function Description: 1) implemented the option that says if the dataset is too small , do not compress it 2) bug fix in the SZIP checking . only apply szip to atomic datatypes 3) made the apply_filters function more compact Solution: Platforms tested: linux AIX solaris Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index 2cbcf86..8cca76d 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -338,9 +338,9 @@ static int check_options(pack_opt_t *options)
szip_pixels_per_block=pack.filter[j].cd_values[0];
/* check szip parameters */
- if (check_szip(pack.chunk.rank,
+ if (check_szip(0, /* do not test size */
+ pack.chunk.rank,
pack.chunk.chunk_lengths,
- 0, /* do not test size */
szip_options_mask,
&szip_pixels_per_block,
options)==0)