diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-02 22:54:04 +0200 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2022-09-03 22:37:33 +0200 |
commit | 0b95a6a1d0b3d9c06aedd5fc929804661addd263 (patch) | |
tree | 4cf746e860166cbb9682d2d87e04f804a4168cb0 /libavcodec/atrac3plus_data.h | |
parent | 6512dd6cb528a261369284f2634c0856fdaffaf9 (diff) | |
download | ffmpeg-0b95a6a1d0b3d9c06aedd5fc929804661addd263.tar.gz |
avcodec/mathops: Set hidden visibility where advantageous
It is advantageous for ff_crop_tab, as the base pointer used to
access this table is not the first element of it. But the real
base pointer is still at a constant offset from the code/the GOT
and can therefore be accessed relative to the instruction pointer
(if supported by the arch) or relative to the GOT; without this,
one has to first load address of ff_crop_tab (potentially via
the GOT) and then offset manually (which is what the earlier code
did).
Reviewed-by: Martin Storsjö <martin@martin.st>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/atrac3plus_data.h')
0 files changed, 0 insertions, 0 deletions