nv-codec-headers: Harden DLL loading by sr55 · Pull Request #6548 · HandBrake/HandBrake
Description of Change:
On non-Nvidia systems, it will search the users various path folders for the dll file which is not ideal where they are user-writable.
In the context of HandBrake this is considered a low risk. Between in-app functionality and the fact we run as user-space it's somewhat moot. Either way, it's good to clean this up so that it doesn't flag.
Tested on:
- Windows 10+ (via MinGW)
- macOS 10.13+
- Ubuntu Linux
ProcMon confirms it's only loading from System32 now.