[PATCH 1/5] wincodecs: Fix parameter validation during scaler initialization.