[FFmpeg-devel] ff_log2_tab defined multiple times in the fmpeg 1.1 libraries, bug or feature ??
Reimar.Doeffinger at gmx.de
Sat Feb 16 12:00:42 CET 2013
On 14 Feb 2013, at 22:53, Lars Hammarstrand <lars.hammarstrand at gmail.com> wrote:
> Hello folks!
> I found the original patch: avutil: Duplicate ff_log2_tab instead of
> sharing it across
> The objectives for this patch was: "*The table is so small that the space
> gain is not worth the performance overhead of cross-library access*"
> (:uhu:). I have never heard of such a thing as "*cross-library access*"
> that "auto-magic" gives you a performance gain when you allocate the exact
> same object file to different link libraries in the same distribution
Then read up on PIC, -Bsymbolic, dynamic symbol lookup etc.
Of course this only applies to linking against dynamic FFmpeg libraries.
More information about the ffmpeg-devel