[FFmpeg-devel] [PATCH 2/2] Implement dynamic loading of NewTek NDI library

Nicolas George george at nsup.org
Fri Feb 23 00:57:33 EET 2018


Marton Balint (2018-02-22):
> I think what CE ment was static v.s. dynamic lib names

I am pretty sure he asked if the file name of the library could be
different at run time than at compile time, which would be the only
reason to justify using an environment variable.

By the way, using an environment variable to load a dynamic library is a
terrible idea in terms of security. Let us not do it.

> With dynamic loading we can rely on the library name defined in the NDI SDK
> headers which should be the proper one for each OS/arch.

So basically, we should add 100+ lines of ugly code just because these
guys are unable to follow the same rules as any other library?

I vote no.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20180222/db3fa710/attachment.sig>


More information about the ffmpeg-devel mailing list