diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-22 15:22:07 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-10-28 09:30:10 +0200 |
commit | f8efd890bf2ea424b263a02772e4107f80608b59 (patch) | |
tree | 03908352c0a228f4d25022739469c50b93dd2e3b /libavcodec/twinvq.h | |
parent | 188216581bc73572bebacab571d7c0468680b8d1 (diff) | |
download | ffmpeg-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/twinvq.h')
0 files changed, 0 insertions, 0 deletions