Legacy codec workaround for 1.2.2.