Add verify_start_code function to locate next start code