lavf/rtp_h261: Replace restrict with av_restrict.

Fixes compilation on Windows.
pull/101/head
Carl Eugen Hoyos 10 years ago
parent 6c7b153d97
commit 96ff6d3805
  1. 4
      libavformat/rtpenc_h261.c

@ -24,8 +24,8 @@
#define RTP_H261_HEADER_SIZE 4 #define RTP_H261_HEADER_SIZE 4
static const uint8_t *find_resync_marker_reverse(const uint8_t *restrict start, static const uint8_t *find_resync_marker_reverse(const uint8_t *av_restrict start,
const uint8_t *restrict end) const uint8_t *av_restrict end)
{ {
const uint8_t *p = end - 1; const uint8_t *p = end - 1;
start += 1; /* Make sure we never return the original start. */ start += 1; /* Make sure we never return the original start. */

Loading…
Cancel
Save