OSDN Git Service

lavf/rtp_h261: Replace restrict with av_restrict.
authorCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Dec 2014 12:25:51 +0000 (13:25 +0100)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Fri, 19 Dec 2014 12:25:51 +0000 (13:25 +0100)
Fixes compilation on Windows.

libavformat/rtpenc_h261.c

index 9930b71..fc50285 100644 (file)
@@ -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. */