Fix packetize block to correctly handle multiple channels.