diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2012-06-15 15:52:05 -0700 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-06-17 00:38:39 +0200 |
commit | 17fad33f81c7e9787fcdc17934fc1eee6c6aa4bf (patch) | |
tree | 76c44f17b5260d9ad0ccf925516b6329c231f706 /libavcodec/ituh263dec.c | |
parent | 5c14b282d1cc407f6b9efb03564ecac75fb59471 (diff) | |
download | ffmpeg-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 'libavcodec/ituh263dec.c')
-rw-r--r-- | libavcodec/ituh263dec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ituh263dec.c b/libavcodec/ituh263dec.c index 58375becc9..7c6f4f952d 100644 --- a/libavcodec/ituh263dec.c +++ b/libavcodec/ituh263dec.c @@ -210,7 +210,7 @@ static int h263_decode_gob_header(MpegEncContext *s) * @param end pointer to the end of the buffer * @return pointer to the next resync_marker, or end if none was found */ -const uint8_t *ff_h263_find_resync_marker(const uint8_t *restrict p, const uint8_t * restrict end) +const uint8_t *ff_h263_find_resync_marker(const uint8_t *av_restrict p, const uint8_t *av_restrict end) { assert(p < end); |