[FFmpeg-devel] [PATCH] avcodec/ttmlenc: Deduplicate ttml_default_namespacing string

Jan Ekström jeebjp at gmail.com
Fri Jul 29 19:17:55 EEST 2022


On Fri, Jul 29, 2022 at 11:23 AM Andreas Rheinhardt
<andreas.rheinhardt at outlook.com> wrote:
>
> String literals are allowed to be deduplicated (and toolchains
> are already capable of doing so), yet the same is not allowed
> for named arrays (even when they contain strings). Therefore
> use a const char *const pointing to an unnamed string literal
> for ttml_default_namespacing.
>

Reminded myself how this variable was being utilized, LGTM.

Jan


More information about the ffmpeg-devel mailing list