> Improved version attached. I found another bug, this time in lossy mode - the file encoded as "joint stereo" decodes after a few seconds into noise: https://www.datafilehost.com/d/c2e8b332