Recently I have got some weird MIDI files are playing fine in some players (as example, my), but won't be played in VLC and won't be opened in MIDI Editors:
https://github.com/Wohlstand/libADLMIDI ... -458643417
The reason of this has been explained here:
The reason for failure: the meta-event Key-Signature needs 2 bytes of payload, these files have 0.
For VLC, it should be requested to implement permissive parsing to bypass such an error. There are just too numerous MIDI files floating around which don't conform.
Sekaiju needs to implement rigourous bounds checking.