summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-28 22:48:47 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2004-01-28 22:48:47 (GMT)
commit796fe1c4025f83b4060157d04d3873ca9f3fa9e7 (patch)
tree898e38e6787c1afef0957a837c4081daefdd07eb /tools/h5repack/h5repack.c
parent48c7a5e35ea7950f54fdeaad1d308c32d4c4e4c2 (diff)
downloadhdf5-796fe1c4025f83b4060157d04d3873ca9f3fa9e7.zip
hdf5-796fe1c4025f83b4060157d04d3873ca9f3fa9e7.tar.gz
hdf5-796fe1c4025f83b4060157d04d3873ca9f3fa9e7.tar.bz2
[svn-r8122] Purpose:
h5repack new feature Description: in the SZIP settings, when the requested pixels per block parameter does not conform to the SZIP specifications, instead of returning without applying the filter, do an attempt to set this parameter to a valid value, issuing a warning in the process Solution: Platforms tested: linux solaris AIX Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index 37ef3d1..2cbcf86 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -342,7 +342,8 @@ static int check_options(pack_opt_t *options)
pack.chunk.chunk_lengths,
0, /* do not test size */
szip_options_mask,
- szip_pixels_per_block)==0)
+ &szip_pixels_per_block,
+ options)==0)
{
/* Return: 1=can apply the filter
0=cannot apply the filter