Skip to content

Commit eb66339

Browse files
libmysofa reader no longer exits when FHDB type 3 unsupported values: 3bytes is hit. This allows IRCAM SOFA files to be loaded, and tests show it doesn't affect anything else/ other SOFA files
1 parent 29097b2 commit eb66339

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

framework/modules/saf_sofa_reader/libmysofa/internal/hdf_fractalhead.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,8 +365,8 @@ static int directblockRead(struct READER *reader, struct DATAOBJECT *dataobject,
365365

366366
if (readValue(reader, 3) != 0x000000) {
367367
mylog("FHDB type 3 unsupported values: 3bytes"); // LCOV_EXCL_LINE
368-
free(name); // LCOV_EXCL_LINE
369-
return MYSOFA_UNSUPPORTED_FORMAT; // LCOV_EXCL_LINE
368+
// free(name); // LCOV_EXCL_LINE
369+
// return MYSOFA_UNSUPPORTED_FORMAT; // LCOV_EXCL_LINE
370370
}
371371

372372
len = (int)readValue(reader, 4);

0 commit comments

Comments
 (0)