summaryrefslogtreecommitdiff
path: root/libavformat/rtpenc_h263.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-15 15:52:05 -0700
committerMichael Niedermayer <michaelni@gmx.at>2012-06-17 00:38:39 +0200
commit17fad33f81c7e9787fcdc17934fc1eee6c6aa4bf (patch)
tree76c44f17b5260d9ad0ccf925516b6329c231f706 /libavformat/rtpenc_h263.c
parent5c14b282d1cc407f6b9efb03564ecac75fb59471 (diff)
downloadffmpeg-17fad33f81c7e9787fcdc17934fc1eee6c6aa4bf.tar.gz
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 <michaelni@gmx.at>
Diffstat (limited to 'libavformat/rtpenc_h263.c')
-rw-r--r--libavformat/rtpenc_h263.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/rtpenc_h263.c b/libavformat/rtpenc_h263.c
index e14aaf1dbd..9cea013013 100644
--- a/libavformat/rtpenc_h263.c
+++ b/libavformat/rtpenc_h263.c
@@ -23,8 +23,8 @@
#include "avformat.h"
#include "rtpenc.h"
-const uint8_t *ff_h263_find_resync_marker_reverse(const uint8_t *restrict start,
- const uint8_t *restrict end)
+const uint8_t *ff_h263_find_resync_marker_reverse(const uint8_t *av_restrict start,
+ const uint8_t *av_restrict end)
{
const uint8_t *p = end - 1;
start += 1; /* Make sure we never return the original start. */