summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-04 19:59:54 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2007-12-04 19:59:54 (GMT)
commita5ba6ac3977d660d3122387ad470374c0b2bfbc6 (patch)
tree188c330f1f3b5dbbe956e004dcd9f656c12c86ea /tools/h5repack/h5repack.c
parent529d974dffdaab7b3ba03f1f3c0c2c28557934d0 (diff)
downloadhdf5-a5ba6ac3977d660d3122387ad470374c0b2bfbc6.zip
hdf5-a5ba6ac3977d660d3122387ad470374c0b2bfbc6.tar.gz
hdf5-a5ba6ac3977d660d3122387ad470374c0b2bfbc6.tar.bz2
[svn-r14320] Added a function that matches the filters on the dataset's DCPL and in the requested list
Used to verify if the filters requested are present in the output dataset tested: windows, linux, solaris
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index 076ab18..374a53a 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -101,6 +101,7 @@ int h5repack_init (pack_opt_t *options,
for ( n = 0; n < H5_REPACK_MAX_NFILTERS; n++)
{
options->filter_g[n].filtn = -1;
+ options->filter_g[n].cd_nelmts = -1;
for ( k = 0; k < CDVALUES; k++)
options->filter_g[n].cd_values[k] = -1;
}