Re-added missing variable declaration
Removed the mfxApp global variable