summaryrefslogtreecommitdiffstats
path: root/tools/h5repack/h5repack.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-09-06 15:15:50 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-09-06 15:15:50 (GMT)
commit145f1ce9e35414e40abf00c139114f69c5e1322d (patch)
treeb2528c469291939818ff0b296ce132138e12bb8e /tools/h5repack/h5repack.c
parentddbc3c841cc71254243e87ede6dd99c403507914 (diff)
downloadhdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.zip
hdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.tar.gz
hdf5-145f1ce9e35414e40abf00c139114f69c5e1322d.tar.bz2
[svn-r24104] HDFFV-8345: add User Defined filters to h5repack.
Reviewed in H5T-61 Tested: local linux - cmake and autotools
Diffstat (limited to 'tools/h5repack/h5repack.c')
-rw-r--r--tools/h5repack/h5repack.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/tools/h5repack/h5repack.c b/tools/h5repack/h5repack.c
index d6437cf..5c44e1a 100644
--- a/tools/h5repack/h5repack.c
+++ b/tools/h5repack/h5repack.c
@@ -722,6 +722,7 @@ static int check_options(pack_opt_t *options)
options->filter_g[k].cd_values[0]);
break;
default:
+ printf(" User Defined %d\n", filtn);
break;
} /* k */
};
@@ -1006,9 +1007,7 @@ static const char* get_sfilter(H5Z_filter_t filtn)
return "NBIT";
else if (filtn==H5Z_FILTER_SCALEOFFSET)
return "SOFF";
- else {
- error_msg("input error in filter type\n");
- HDexit(EXIT_FAILURE);
- }
+ else
+ return "UD";
}