summaryrefslogtreecommitdiff
path: root/libavcodec
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-10 20:04:05 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-07-23 22:53:29 +0200
commitc807ee6975d9dc6f783f2071bf5cb30d663b53ae (patch)
tree4ec02448b0cedb630638798a6370bb9f4753451e /libavcodec
parent30c7cff399334b8924c7461a5c128e23d0cc3680 (diff)
avformat/asfcrypt: Fix wrong array length in function declaration
multiswap_step() and multiswap_inv_step() both only require six keys; in all current callers, these keys are part of an array of twelve keys, yet in some of these callers the keys given to these functions point to the second half of these twelve keys, so that only six keys are available to these functions. This led to -Wstringop-overread warnings when compiling with GCC 12.1. Fix these by adapting the declaration of these functions. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec')
0 files changed, 0 insertions, 0 deletions