fix typo in 312c7a1eed4 (bufsize check)
basic marker support & channel numbering cleanup