[FFmpeg-devel] [PATCH] Use NULL_IF_CONFIG_SMALL for AVOption tables.

Dale Curtis dalecurtis at chromium.org
Mon Aug 28 23:28:16 EEST 2017


On Mon, Aug 28, 2017 at 12:56 PM, wm4 <nfxjfg at googlemail.com> wrote:
>
> LTO seems unlikely to help in this situation - the linker can't know
> whether struct members and their initializers are unused.
>

Correct.


>
> 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.


I think the fish to fry depend on your configuration settings :) Chrome
disables everything we can already.

Seems there's consensus that folk don't like the patch, we can carry it
downstream if that's the case. It's not as much as I hoped, so we may drop
it as well though.

- dale


More information about the ffmpeg-devel mailing list