[FFmpeg-devel] [PATCH] Use NULL_IF_CONFIG_SMALL for AVOption tables.
wm4
nfxjfg at googlemail.com
Mon Aug 28 22:56:25 EEST 2017
On Mon, 28 Aug 2017 19:42:44 +0100
Rostislav Pehlivanov <atomnuker at gmail.com> wrote:
> On 26 August 2017 at 00:20, Dale Curtis <dalecurtis at chromium.org> wrote:
>
> > Saves ~12kb of binary size and seems like a good use of
> > CONFIG_SMALL. I've only converted some of the largest
> > tables in this patch, there's way more to do if this is a
> > reasonable direction.
> >
> > - dale
> >
> > _______________________________________________
> > ffmpeg-devel mailing list
> > ffmpeg-devel at ffmpeg.org
> > http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
> >
> >
> I disagree with this patch as well. If you need more space savings use LTO.
> IMO we should drop CONFIG_SMALL for codec descriptions too.
LTO seems unlikely to help in this situation - the linker can't know
whether struct members and their initializers are unused.
But I think there's much much bigger fish to fry to save space. For
example, I bet disabling unneeded codecs will significantly reduce
binary size.
More information about the ffmpeg-devel
mailing list