[file_hdf5] update to hdf5 >= 1.10.3
authorPaul Brossier <piem@piem.org>
Sun, 26 Dec 2021 22:15:00 +0000 (17:15 -0500)
committerPaul Brossier <piem@piem.org>
Wed, 29 Dec 2021 16:52:03 +0000 (11:52 -0500)
src/io/file_hdf5.c

index e3d3c5f..c9d4c5a 100644 (file)
@@ -133,7 +133,8 @@ static herr_t aubio_file_hdf5_iterate(hid_t loc_id, const char *name,
   H5O_info_t infobuf;
   const char_t *type_name;
   uint_t *depth = (uint_t *)opdata;
-  herr_t err = H5Oget_info_by_name(loc_id, name, &infobuf, H5P_DEFAULT);
+  herr_t err = H5Oget_info_by_name(loc_id, name, &infobuf, H5O_INFO_BASIC,
+      H5P_DEFAULT);
   if (err < 0) goto failure;
   if (*depth > MAX_DEPTH) goto failure;
   switch (infobuf.type) {