From: Paul Brossier Date: Sun, 26 Dec 2021 22:15:00 +0000 (-0500) Subject: [file_hdf5] update to hdf5 >= 1.10.3 X-Git-Url: https://git.aubio.org/?a=commitdiff_plain;h=1c2cceabbaf0face7967d2ddb4b5418d311daa31;p=aubio.git [file_hdf5] update to hdf5 >= 1.10.3 --- diff --git a/src/io/file_hdf5.c b/src/io/file_hdf5.c index e3d3c5f9..c9d4c5ae 100644 --- a/src/io/file_hdf5.c +++ b/src/io/file_hdf5.c @@ -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) {