[vlc-devel] [PATCH] Contribs: ffmpeg, enable small when deactivating encoder

Rafaël Carré funman at videolan.org
Sun Feb 5 23:56:34 CET 2012


Le 2012-02-05 17:49, Jean-Baptiste Kempf a écrit :
> On Mon, Feb 06, 2012 at 12:38:36AM +0200, Martin Storsjö wrote :
>>> * What is the result of this patch:
>>> * How much smaller is libav*?
>>
>> Don't remember exactly how much smaller it was, but the final .apk
>> shrunk from 6.0 MB to 5.2 MB IIRC.
> 
> Yes. libavcodec.a goes from 6.0MB to 4.3MB.
> 
>> I don't think the actual installed size was the target of j-b's
>> optimization, I think it was secondary to shrinking the size of the
>> download package.
> 
> Both, actually :)
> 
>> Also, configure already adds -fomit-frame-pointer
>> in all of these configurations, unless one adds
>> --disable-optimizations.
> 
> Anyway, back to the topic: I will add this option, but the question is
> more: do I de-couple that from the no-sout part?

Yes.

Perhaps add a similar small option to contrib/ so we can use it for
other libraries.

> Best regards,



More information about the vlc-devel mailing list