From 17fad33f81c7e9787fcdc17934fc1eee6c6aa4bf Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Fri, 15 Jun 2012 15:52:05 -0700 Subject: [PATCH] Change all uses of restrict to use av_restrict instead. Defining restrict results - for some compilers - in changing other uses of the restrict keyword also, e.g. __declspec(restrict) gets changed to __declspec(__restrict) on MSVC. This causes compilation failures. Therefore, using a private namespace macro instead is more reliable and robust. Signed-off-by: Michael Niedermayer --- configure | 2 +- libavcodec/dsputil.c | 2 +- libavcodec/dsputil.h | 2 +- libavcodec/ituh263dec.c | 2 +- libavcodec/mpegvideo.c | 4 ++-- libavformat/rtpenc.h | 4 ++-- libavformat/rtpenc_h263.c | 4 ++-- 7 files changed, 10 insertions(+), 10 deletions(-) diff --git a/configure b/configure index 0cdf7a499a..ce5c188ab7 100755 --- a/configure +++ b/configure @@ -3797,7 +3797,7 @@ cat > $TMPH <