summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack_filters.c
diff options
context:
space:
mode:
authorScot Breitenfeld <brtnfld@hdfgroup.org>2009-06-23 21:39:14 (GMT)
committerScot Breitenfeld <brtnfld@hdfgroup.org>2009-06-23 21:39:14 (GMT)
commitf90aae49e3499c434643feafa8b359dd605b663c (patch)
tree76620bd58cf8264ada8dd21f922ab0549461dbf2 /tools/h5repack/h5repack_filters.c
parente2a75e4729a3301842e48dfac4aa3720c7544d9e (diff)
downloadhdf5-f90aae49e3499c434643feafa8b359dd605b663c.zip
hdf5-f90aae49e3499c434643feafa8b359dd605b663c.tar.gz
hdf5-f90aae49e3499c434643feafa8b359dd605b663c.tar.bz2
[svn-r17094] Merged changes from the trunk into the branch:
svn merge -r17073:17093 https://svn.hdfgroup.uiuc.edu/hdf5/trunk Tested: smirom
Diffstat (limited to 'tools/h5repack/h5repack_filters.c')
-rw-r--r--tools/h5repack/h5repack_filters.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/h5repack/h5repack_filters.c b/tools/h5repack/h5repack_filters.c
index a1ac3ae..6b08a2f 100644
--- a/tools/h5repack/h5repack_filters.c
+++ b/tools/h5repack/h5repack_filters.c
@@ -445,11 +445,13 @@ int apply_filters(const char* name, /* object name from traverse list */
if (H5Pset_layout(dcpl_id, obj.layout)<0)
return -1;
- if (H5D_CHUNKED==obj.layout) { /* set up chunk */
+ if (H5D_CHUNKED == obj.layout)
+ {
if(H5Pset_chunk(dcpl_id, obj.chunk.rank, obj.chunk.chunk_lengths)<0)
return -1;
}
- else if (H5D_COMPACT==obj.layout) {
+ else if (H5D_COMPACT == obj.layout)
+ {
if (H5Pset_alloc_time(dcpl_id, H5D_ALLOC_TIME_EARLY)<0)
return -1;
}