[FFmpeg-devel] [PATCH v2] mfenc: Use dlopen instead of LoadLibrary for loading mfplat.dll

Martin Storsjö martin at martin.st
Sat May 28 01:16:04 EEST 2022


On Thu, 26 May 2022, Martin Storsjö wrote:

> The dlopen wrapper contains code to make loading libraries safer,
> to avoid loading a potentially malicious DLL with the same name.
>
> Signed-off-by: Martin Storsjö <martin at martin.st>
> ---
> v2: Use dlsym too, for consistency.
> ---
> libavcodec/mfenc.c | 7 ++++---
> 1 file changed, 4 insertions(+), 3 deletions(-)

Pushed.

// Martin


More information about the ffmpeg-devel mailing list