diff options
author | Johannes Kauffmann <johanneskauffmann@hotmail.com> | 2022-09-25 00:41:18 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-10-04 10:56:12 +0200 |
commit | a11e745b97dfc8117bac0cf7049061291195d02c (patch) | |
tree | 64aed58ceab15c7049e0e68655463f9bf559dc67 /libavutil/fixed_dsp.c | |
parent | d09776d48651eeba10e1b5f2e5fba612b48b95f4 (diff) | |
download | ffmpeg-a11e745b97dfc8117bac0cf7049061291195d02c.tar.gz |
lavu/fixed_dsp: add missing av_restrict qualifiers
The butterflies_fixed function pointer declaration specifies av_restrict
for the first two pointer arguments. So the corresponding function
definitions should honor this declaration.
MSVC emits warning C4113 for this.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Diffstat (limited to 'libavutil/fixed_dsp.c')
-rw-r--r-- | libavutil/fixed_dsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavutil/fixed_dsp.c b/libavutil/fixed_dsp.c index bc847949dc..5ab47d55d0 100644 --- a/libavutil/fixed_dsp.c +++ b/libavutil/fixed_dsp.c @@ -135,7 +135,7 @@ static int scalarproduct_fixed_c(const int *v1, const int *v2, int len) return (int)(p >> 31); } -static void butterflies_fixed_c(int *v1s, int *v2, int len) +static void butterflies_fixed_c(int *av_restrict v1s, int *av_restrict v2, int len) { int i; unsigned int *v1 = v1s; |