parse avih header structure completed