[FFmpeg-devel] [PATCH 2/2] Implement dynamic loading of NewTek NDI library
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.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 833 bytes
Desc: Digital signature
More information about the ffmpeg-devel