[vlc-devel] [PATCH] hxxx: move the common H26x NAL parsing code in a common static library

Rémi Denis-Courmont remi at remlab.net
Fri Nov 17 08:56:18 CET 2017


Le 17 novembre 2017 09:34:40 GMT+02:00, Steve Lhomme <robux4 at gmail.com> a écrit :
>On Thu, Nov 16, 2017 at 8:44 PM, Rémi Denis-Courmont <remi at remlab.net>
>wrote:
>> TBH, I don't really see the point of all these changes. If the
>library is static, then the code is still duplicated in the final
>output binary. And C code is not that slow to compile - unlike C++. In
>fact, if LTO is enabled, this saves almost nothing at all, since
>compilation is done in linker phase.
>
>The original idea is to enable static builds. Having the same file
>compiled many times in the same output binary is not good.
>And it helps with the compile time a parallelization a bit too. That's
>a bonus.
>
>> --
>> Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez
>excuser ma brièveté.
>> _______________________________________________
>> vlc-devel mailing list
>> To unsubscribe or modify your subscription options:
>> https://mailman.videolan.org/listinfo/vlc-devel
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

Compiling multiple times is necessary because of msg_* functions. You need to ensure that they are not used if you want to share CPPFLAGS.
-- 
Envoyé de mon appareil Android avec Courriel K-9 Mail. Veuillez excuser ma brièveté.


More information about the vlc-devel mailing list