codec encoding failures propagate unchanged