From 96ff6d38050e42ae33b1a691109e24748bd62d5d Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 19 Dec 2014 13:25:51 +0100 Subject: [PATCH] lavf/rtp_h261: Replace restrict with av_restrict. Fixes compilation on Windows. --- libavformat/rtpenc_h261.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/rtpenc_h261.c b/libavformat/rtpenc_h261.c index 9930b71473..fc50285f5e 100644 --- a/libavformat/rtpenc_h261.c +++ b/libavformat/rtpenc_h261.c @@ -24,8 +24,8 @@ #define RTP_H261_HEADER_SIZE 4 -static const uint8_t *find_resync_marker_reverse(const uint8_t *restrict start, - const uint8_t *restrict end) +static const uint8_t *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. */