On 7/18/24 10:53 AM, Stefan Oltmanns via ffmpeg-devel wrote:
The AviSynth patch to remove it by Stephen Hutchinson does not introduce
it somewhere else. It is now only called directly at the start in case a
needed function cannot be loaded from the DLL.
 From what I read dlclose is only needed if there are any C++
deconstructors or similar stuff that need to be called before exiting
the program.
dlclose usually won't unload the library anyway (the spec does not
require dlclose to do that)


That was just an oversight.  Interestingly, the only situation that
the lack of dlclose appeared to cause a problem with when testing was
when the AviSynth host was the standard MSVC build for IA32, under
which case the lack of dlclose caused a segfault on exit.  The 64-bit
build was fine and so were amd64 and i686 GCC builds.

Odd, but regardless, fixed in the newer version of the patch.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to