summaryrefslogtreecommitdiffstats
path: root/src/H5Zszip.c
diff options
context:
space:
mode:
authorRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2004-11-02 19:12:18 (GMT)
committerRobert E. McGrath <mcgrath@ncsa.uiuc.edu>2004-11-02 19:12:18 (GMT)
commit8c0c4f945db726fcddd2a40e4f617cdf6aac6be8 (patch)
tree82b17661293cac5042335d70c2ba1a74e56c2242 /src/H5Zszip.c
parent3f0abcc71f1803b59d8ca64b9ec642235fdfc1c9 (diff)
downloadhdf5-8c0c4f945db726fcddd2a40e4f617cdf6aac6be8.zip
hdf5-8c0c4f945db726fcddd2a40e4f617cdf6aac6be8.tar.gz
hdf5-8c0c4f945db726fcddd2a40e4f617cdf6aac6be8.tar.bz2
[svn-r9495] Purpose:
Fix SZIP filter to dynmically detect encoder. Description: Solution: See: http://hdf.ncsa.uiuc.edu/RFC/SZIP/Szip_dynamic_12_Oct.pdf Changes to h5dump tests, contingent on detecting SZIP encoder.
Diffstat (limited to 'src/H5Zszip.c')
-rw-r--r--src/H5Zszip.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/H5Zszip.c b/src/H5Zszip.c
index bca998e..5d0282a 100644
--- a/src/H5Zszip.c
+++ b/src/H5Zszip.c
@@ -43,11 +43,7 @@ static size_t H5Z_filter_szip (unsigned flags, size_t cd_nelmts,
H5Z_class_t H5Z_SZIP[1] = {{
H5Z_CLASS_T_VERS, /* H5Z_class_t version */
H5Z_FILTER_SZIP, /* Filter id number */
-#ifdef H5_SZIP_CAN_ENCODE
- 1, /* Encoder present */
-#else
- 0, /* Encoder disabled */
-#endif
+ 1, /* Assume encoder present: check before registering */
1, /* decoder_present flag (set to true) */
"szip", /* Filter name for debugging */
H5Z_can_apply_szip, /* The "can apply" callback */