summaryrefslogtreecommitdiff
path: root/libavformat/ttmlenc.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 04:57:23 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-31 04:57:23 +0200
commit1368b5a72502ad18794854ed61a574653bfa5900 (patch)
tree0227723c1ee5464f5a7de0b3832504fdfcac1d5d /libavformat/ttmlenc.c
parente725c5e24eaa94cd5a99e039d6c569a24e335d5a (diff)
downloadffmpeg-1368b5a72502ad18794854ed61a574653bfa5900.tar.gz
avcodec/ttmlenc: Use string literal macro for default namespacing
Fixes -Werror=format-security build failures when building with disabled optimizations and (according to fate.ffmpeg.org also with several other old GCC versions). Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavformat/ttmlenc.c')
-rw-r--r--libavformat/ttmlenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ttmlenc.c b/libavformat/ttmlenc.c
index 896fc81958..fc8069f7b5 100644
--- a/libavformat/ttmlenc.c
+++ b/libavformat/ttmlenc.c
@@ -91,7 +91,7 @@ static int ttml_set_header_values_from_extradata(
if (!additional_data_size) {
// simple case, we don't have to go through local_params and just
// set default fall-back values (for old extradata format).
- header_params->tt_element_params = ttml_default_namespacing;
+ header_params->tt_element_params = TTML_DEFAULT_NAMESPACING;
header_params->pre_body_elements = "";
return 0;