<div dir="ltr"><font face="times new roman, serif">Hi friends,</font><div><font face="times new roman, serif"><br></font></div><div><font face="times new roman, serif">Here are some update. I added a --extra-ldflags=-Wl,-Map=out.map as configure option and then was able to generate the map file. And from it I can see that .text and .rdata sections occupy most space of the dll. Since map file also tells which object file introduces how much space into .text and .rdata. I could easily figure out what codecs I should remove to save space.</font></div>
<div><font face="times new roman, serif"><br></font></div><div><font face="times new roman, serif">Another thing is, objects statically linked into avcodec from external libraries are quite smaller. There do have some objects from libgcc, libmingw32 that is built into avcodec, but the total size in .text and .rdata is just about 30-50K which is <span style="font-size:14px">negligible.</span></font></div>
<div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div><div><span style="font-family:arial,sans-serif;font-size:14px"><br></span></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
2014-03-26 21:01 GMT+11:00 Alex Cohn <span dir="ltr"><<a href="mailto:alexcohn@netvision.net.il" target="_blank">alexcohn@netvision.net.il</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class=""><p dir="ltr">On 26 Mar 2014 11:54, "Carl Eugen Hoyos" <<a href="mailto:cehoyos@ag.or.at" target="_blank">cehoyos@ag.or.at</a>> wrote:<br>
><br>
> Michael Chisholm <chisholm@...> writes:<br>
><br>
> > It seems to me, what you may gain by linking to a static<br>
> > lib, is that only that library code which is actually<br>
> > used by the app is pulled in to the exe<br>
><br>
> This is true but it (mostly) does not apply to FFmpeg:<br>
> All the encoders, decoders, demuxers, muxers, parsers etc.<br>
> are linked into your static executable no matter if you<br>
> need them or not.</p>
</div><p dir="ltr">... and that's by virtue of register_all() and her kin, is that true?</p><span class="HOEnZb"><font color="#888888">
<p dir="ltr">Alex Cohn</p>
</font></span><br>_______________________________________________<br>
Libav-user mailing list<br>
<a href="mailto:Libav-user@ffmpeg.org">Libav-user@ffmpeg.org</a><br>
<a href="http://ffmpeg.org/mailman/listinfo/libav-user" target="_blank">http://ffmpeg.org/mailman/listinfo/libav-user</a><br>
<br></blockquote></div><br></div>