update for avi container reading.