[FFmpeg-devel] [PATCH] Use NULL_IF_CONFIG_SMALL for AVOption tables.
Michael Niedermayer
michael at niedermayer.cc
Sat Aug 26 02:59:59 EEST 2017
On Fri, Aug 25, 2017 at 04:20:28PM -0700, Dale Curtis 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.
[...]
> -{"dump_separator", "set information dump field separator", OFFSET(dump_separator), AV_OPT_TYPE_STRING, {.str = ", "}, CHAR_MIN, CHAR_MAX, D|E},
[...]
> +{"dump_separator", NULL_IF_CONFIG_SMALL("set information dump field separator"), OFFSET(dump_separator), AV_OPT_TYPE_STRING, {.str = "), "}, CHAR_MIN, CHAR_MAX, D|E},
the default value changes in this
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
It is dangerous to be right in matters on which the established authorities
are wrong. -- Voltaire
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20170826/ffa51209/attachment.sig>
More information about the ffmpeg-devel
mailing list