[TransCodeSetup] fix possible BSOD.