summaryrefslogtreecommitdiffstats
path: root/tools/h5repack
diff options
context:
space:
mode:
authorMuQun Yang <ymuqun@hdfgroup.org>2005-04-27 15:25:23 (GMT)
committerMuQun Yang <ymuqun@hdfgroup.org>2005-04-27 15:25:23 (GMT)
commitfb7f30ef4cd6259aa79776207695f031192f70df (patch)
tree83fc7e6cbe7b12db397f419752f006096c3e9180 /tools/h5repack
parent20786cd28be5ded6a2a9a3ce33a1c3f92b5c02f6 (diff)
downloadhdf5-fb7f30ef4cd6259aa79776207695f031192f70df.zip
hdf5-fb7f30ef4cd6259aa79776207695f031192f70df.tar.gz
hdf5-fb7f30ef4cd6259aa79776207695f031192f70df.tar.bz2
[svn-r10679] Purpose:
H5Pset_scaleoffset API is changed due to addition of the floating-point filter. Description: Only add a parameter, nothing should change for the tool. Solution: Platforms tested: Linux 2.4 Misc. update:
Diffstat (limited to 'tools/h5repack')
-rw-r--r--tools/h5repack/h5repack_filters.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c
index 76bfa34..28771a9 100644
--- a/tools/h5repack/h5repack_filters.c
+++ b/tools/h5repack/h5repack_filters.c
@@ -389,7 +389,7 @@ int apply_filters(const char* name, /* object name from traverse list */
aggression=obj.filter[i].cd_values[0];
if(H5Pset_chunk(dcpl_id, obj.chunk.rank, obj.chunk.chunk_lengths)<0)
return -1;
- if (H5Pset_scaleoffset(dcpl_id,aggression)<0)
+ if (H5Pset_scaleoffset(dcpl_id,aggression,2)<0)
return -1;
break;
} /* switch */