aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/libxvid.c
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-18 19:11:39 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2024-02-21 01:06:10 +0100
commitef04737e189e25904b7ed06fc3cd7a19e05f27f0 (patch)
tree10453476014c4bf453add96f74f79f0350583306 /libavcodec/libxvid.c
parent1eafbc27e2d3824b2fd3123bd78c25bc60fed8ba (diff)
downloadffmpeg-ef04737e189e25904b7ed06fc3cd7a19e05f27f0.tar.gz
avcodec/vvc/vvc_ps: Use union for luts to avoid unaligned accesses
These arrays are currently accessed via uint16_t* pointers although nothing guarantees their alignment. Furthermore, this is problematic wrt the effective-type rules. Fix this by using a union of arrays of uint8_t and uint16_t. Reviewed-by: Nuo Mi <nuomi2021@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/libxvid.c')
0 files changed, 0 insertions, 0 deletions