[FFmpeg-devel] [PATCH 1/2] lavu/attributes: Don't define av_restrict

Derek Buitenhuis derek.buitenhuis at gmail.com
Fri Sep 7 15:39:11 CEST 2012


This is always defined in config.h.

Signed-off-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
---
 libavutil/attributes.h |    4 ----
 1 file changed, 4 deletions(-)

diff --git a/libavutil/attributes.h b/libavutil/attributes.h
index 64b46f6..690b102 100644
--- a/libavutil/attributes.h
+++ b/libavutil/attributes.h
@@ -62,10 +62,6 @@
 #    define av_pure
 #endif
 
-#ifndef av_restrict
-#define av_restrict restrict
-#endif
-
 #if AV_GCC_VERSION_AT_LEAST(2,6)
 #    define av_const __attribute__((const))
 #else
-- 
1.7.9.5



More information about the ffmpeg-devel mailing list