[FFmpeg-devel] [PATCH/RFC] Prefer getaddrinfo over gethostbyname

Ronald S. Bultje rsbultje
Thu Jan 7 16:42:50 CET 2010


Hi,

On Thu, Jan 7, 2010 at 4:04 AM, Martin Storsj? <martin at martin.st> wrote:
> The bloated "load pointers dynamically" version is now much less thread
> unsafe, by simply not trying to clean up the loaded dll and the function
> pointers when ff_network_close is called. (That's the same as microsoft
> does in their own header, which provides encapsulation of similar logic.)

I'd prefer to get the other patch in first. Temporarily breaking <XP
compat on >=XP builds is OK with me. I'd like to think more about the
dynamic pointer loading before OK'ing that. It's a huge can of worms,
I for one do not want to obfuscate or complicate our code just for
some ancient, deprecated platform.

Ronald



More information about the ffmpeg-devel mailing list