You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That's true. It is a current limitation. However, we've never run into this as an issue in practice, since the only atoms with a 64-bit size we've encountered are 'mdat' atoms for which there's never been a need to have a custom type handler. Do you have a use case where you need to write a custom type handler for atoms larger than 2^32 bytes?
I don’t have a use case for this. I was writing an implementation for #41 and I noticed that custom atoms only get the 32-bit size.
Now that I think about it, a non-mdat atom with size greater than 4 GB wouldn’t really make sense. It would be nice if custom atoms got the 64-bit size too though. Thanks for adding the “enhancement” label.
From lines 752–764 of Ap4AtomFactory.cpp:
The
TypeHandler
only gets passed the 32-bit size. :-(The text was updated successfully, but these errors were encountered: