aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/tests/cabac.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-22 15:22:07 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-10-28 09:30:10 +0200
commitf8efd890bf2ea424b263a02772e4107f80608b59 (patch)
tree03908352c0a228f4d25022739469c50b93dd2e3b /libavcodec/tests/cabac.c
parent188216581bc73572bebacab571d7c0468680b8d1 (diff)
downloadffmpeg-f8efd890bf2ea424b263a02772e4107f80608b59.tar.gz
avutil/tx_template: Move function pointers to const memory
This can be achieved by moving the AVOnce out of the structure containing the function pointers; the latter can then be made const. This also has the advantage of eliminating padding in the structure (sizeof(AVOnce) is four here) and allowing the AVOnces to be put into .bss (dependening upon the implementation). Reviewed-by: Lynne <dev@lynne.ee> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/tests/cabac.c')
0 files changed, 0 insertions, 0 deletions