On Wed Feb 5 17:14:28 2025 +0000, Rémi Bernon wrote:
If there's any ambiguity on whether this is right or not, probably adding a couple of tests with a truncated MIDI track will answer the question. Other than that the brace needs to be on its own line. The other change LGTM.
No `magic` is always initialized to all 0 on each itteration of the for loop: ``` for (i = 0;; i++) { BYTE magic[4] = {0}, last_status = 0; ``` A short read won't change that.