[FFmpeg-cvslog] floatdsp: restrict->av_restrict

Michael Niedermayer git at videolan.org
Thu Jan 24 00:55:27 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jan 24 00:49:47 2013 +0100| [9d6e0ac6737f94553b826db6b1962383666295db] | committer: Michael Niedermayer

floatdsp: restrict->av_restrict

Fix msvc

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9d6e0ac6737f94553b826db6b1962383666295db
---

 libavutil/float_dsp.c |    2 +-
 libavutil/float_dsp.h |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavutil/float_dsp.c b/libavutil/float_dsp.c
index 50c9e60..7641313 100644
--- a/libavutil/float_dsp.c
+++ b/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;
diff --git a/libavutil/float_dsp.h b/libavutil/float_dsp.h
index 0bcfe8b..d0447d6 100644
--- a/libavutil/float_dsp.h
+++ b/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.



More information about the ffmpeg-cvslog mailing list