<div dir="ltr">Hello Michael - great news, thank you very much !!  Which branch and repo is this patch applied to? /Thanks in advance, Lars.<br><div class="gmail_extra"><br><div class="gmail_quote">2013/2/13 Michael Niedermayer <span dir="ltr"><<a href="mailto:michaelni@gmx.at" target="_blank">michaelni@gmx.at</a>></span><br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi<br>
<div class="im"><br>
On Wed, Feb 13, 2013 at 04:36:38PM +0100, Lars Hammarstrand wrote:<br>
</div>> Hello, can someone please explain the reason (and how to cope with) that *<br>
> ff_log2_tab* is defined multiple times with *#include "libavutil/log2_tab.c*"<br>
<div class="im">> in the ffmpeg v1.1 libraries like libavcodec 54.91.102 and companions ??<br>
<br>
</div>duplicating the tables causes a small performance increase in some<br>
linking configurations.<br>
<div class="im"><br>
<br>
><br>
> This results in "duplicate symbols" while linking as listed below. To get<br>
> ride of the problem we need to delete the duplicated entries by hand with<br>
> "ar -d libxxx.a log2_tab.o" for all libraries but one, not a very smooth<br>
> solution. Will this behavior change in the future or do weed need to<br>
> automate a duplicate removal process while building the ffmpeg libraries<br>
> for XBMC?<br>
<br>
</div>Ive posted a patch to ffmpeg-dev, which may fix this:<br>
0213 19:51 To FFmpeg devel (3.0K) [FFmpeg-devel] [PATCH] buildsys: only include log2_tab per library for shared builds<br>
<br>
please test and comments welcome<br>
<br>
note, some linkers can also be configured to ignore duplicate symbols<br>
<br>
Thanks for the bug report<br>
<br>
[...]<br>
<span class=""><font color="#888888">--<br>
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB<br>
<br>
Concerning the gods, I have no means of knowing whether they exist or not<br>
or of what sort they may be, because of the obscurity of the subject, and<br>
the brevity of human life -- Protagoras<br>
</font></span></blockquote></div><br></div></div>