There were some implicit casts in the standard codec implementation that didn't show up on Linux, but do on Windows.