Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MYSOFA_INVALID_FORMAT for files larger than 0x10000000 #225

Closed
enzodesena opened this issue Oct 19, 2024 · 1 comment
Closed

MYSOFA_INVALID_FORMAT for files larger than 0x10000000 #225

enzodesena opened this issue Oct 19, 2024 · 1 comment

Comments

@enzodesena
Copy link

(Probably) not an issue, but here goes. Loading Kemar_HRTF_sofa.sofa from this Aachen high-resolution Kemar HRTF dataset throws MYSOFA_INVALID_FORMAT at line 550 of data object.h:

        if (size > 0x10000000)
          return MYSOFA_INVALID_FORMAT; // LCOV_EXCL_LINE

This is clearly due to the size of this particular SOFA file being larger than 0x10000000. Where is the 0x10000000 limit coming from? Increasing the limit to 0x100000000 (i.e. 16 times larger) fixes it. Does that break the library somewhere else? Thanks.

@hoene
Copy link
Owner

hoene commented Oct 19, 2024

solved with #226

@hoene hoene closed this as completed Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants