mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-08 06:09:50 +00:00
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>
This commit is contained in:
parent
d09776d486
commit
a11e745b97
2 changed files with 2 additions and 2 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue