On Mon, 18 Jun 2012, Måns Rullgård wrote:

Derek Buitenhuis <[email protected]> writes:

On 18/06/2012 2:41 PM, Måns Rullgård wrote:
What does that do?

Static msvcrt linkage (no reliance on msvcrXX.dll).

And how does that relate to the patch at hand?  Does it magically
provide one of the already supported memalign() variants?

If one were to be using MSVC, one wouldn't have to compromise with the baseline runtime to target, since the runtime is built in.

However, that's not related to the patch at all. And for mingw, one can't statically link the runtime.

For mingw however, there apparently is a __mingw_aligned_malloc which does about the same, and is included in the small mingw runtime which indeed is statically linked. So we can add a separate function check for that one (patch coming up soon) and use it if found - then the target msvcrt version wouldn't matter at all for this.

// Martin
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to