client: uncrustified all the avi code