Commit 9d6e0ac6 authored by Michael Niedermayer's avatar Michael Niedermayer

floatdsp: restrict->av_restrict

Fix msvc
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 7357ca90
...@@ -92,7 +92,7 @@ static void vector_fmul_reverse_c(float *dst, const float *src0, ...@@ -92,7 +92,7 @@ static void vector_fmul_reverse_c(float *dst, const float *src0,
dst[i] = src0[i] * src1[-i]; dst[i] = src0[i] * src1[-i];
} }
static void butterflies_float_c(float *restrict v1, float *restrict v2, static void butterflies_float_c(float *av_restrict v1, float *av_restrict v2,
int len) int len)
{ {
int i; int i;
......
...@@ -147,7 +147,7 @@ typedef struct AVFloatDSPContext { ...@@ -147,7 +147,7 @@ typedef struct AVFloatDSPContext {
* @param v2 second input vector, difference output, 16-byte aligned * @param v2 second input vector, difference output, 16-byte aligned
* @param len length of vectors, multiple of 4 * @param len length of vectors, multiple of 4
*/ */
void (*butterflies_float)(float *restrict v1, float *restrict v2, int len); void (*butterflies_float)(float *av_restrict v1, float *av_restrict v2, int len);
/** /**
* Calculate the scalar product of two vectors of floats. * Calculate the scalar product of two vectors of floats.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment