Add AVI index patch.