aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/rv34.h
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-05 21:16:01 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-03-08 00:59:24 +0100
commitec1b6e0cd404b2f7f4d202802b1c0a40d52fc9b0 (patch)
tree6253cb297c2e754868831b18e076b1815fa5c963 /libavcodec/rv34.h
parentc9f5cea9cca033e662a33fc31ac2eacb74cacfa6 (diff)
downloadffmpeg-ec1b6e0cd404b2f7f4d202802b1c0a40d52fc9b0.tar.gz
avcodec/ccaption_dec: Avoid relocations for strings
The longest string here takes four bytes, so using an array of pointers is wasteful even when ignoring the cost of relocations; the lack of relocations also implies that this array will now be put into .rodata and not into .data.rel.ro. Static asserts are used to ensure that all strings are always properly zero-terminated. Tested-by: Marth64 <marth64@proxyid.net> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/rv34.h')
0 files changed, 0 insertions, 0 deletions