diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-29 15:04:32 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2004-01-29 15:04:32 (GMT) |
commit | 203799486de690f5ee5911ecdc2b4aaff6681b33 (patch) | |
tree | d13d995d452f898752ada7520e598ae9e8fb0437 /tools/h5repack/h5repack_filters.c | |
parent | 796fe1c4025f83b4060157d04d3873ca9f3fa9e7 (diff) | |
download | hdf5-203799486de690f5ee5911ecdc2b4aaff6681b33.zip hdf5-203799486de690f5ee5911ecdc2b4aaff6681b33.tar.gz hdf5-203799486de690f5ee5911ecdc2b4aaff6681b33.tar.bz2 |
[svn-r8123] Purpose:
added more tests for szip and more verbose output
Description:
Solution:
Platforms tested:
linux
solaris
AIX
Misc. update:
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r-- | tools/h5repack/h5repack_filters.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c index 0a0de02..aead698 100644 --- a/tools/h5repack/h5repack_filters.c +++ b/tools/h5repack/h5repack_filters.c @@ -199,6 +199,17 @@ int apply_filters(hid_t dcpl_id, } /*------------------------------------------------------------------------- + * check if we have filters in the pipeline + * we want to replace them with the input filters + *------------------------------------------------------------------------- + */ + + if (nfilters) { + if (H5Pdelete_filter(dcpl_id,H5Z_FILTER_NONE)<0) + return -1; + } + +/*------------------------------------------------------------------------- * the type of filter and additional parameter * type can be one of the filters * H5Z_FILTER_NONE 0, uncompress if compressed |