Current code will loop forever if MFXVideoVPP_Init() fails. Also, simplify the code.
Attach a file by drag & drop or click to upload