From fb7f30ef4cd6259aa79776207695f031192f70df Mon Sep 17 00:00:00 2001 From: MuQun Yang Date: Wed, 27 Apr 2005 10:25:23 -0500 Subject: [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: --- tools/h5repack/h5repack_filters.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 */ -- cgit v0.12