Browse Source

floatdsp: restrict->av_restrict

Fix msvc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer 12 years ago
parent
commit
9d6e0ac673
2 changed files with 2 additions and 2 deletions
  1. 1 1
      libavutil/float_dsp.c
  2. 1 1
      libavutil/float_dsp.h

+ 1 - 1
libavutil/float_dsp.c

@@ -92,7 +92,7 @@ static void vector_fmul_reverse_c(float *dst, const float *src0,
         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 i;

+ 1 - 1
libavutil/float_dsp.h

@@ -147,7 +147,7 @@ typedef struct AVFloatDSPContext {
      * @param v2  second input vector, difference output, 16-byte aligned
      * @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.