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

Carl Eugen Hoyos cehoyos at ag.or.at
Tue Sep 18 18:37:16 CEST 2012


Derek Buitenhuis <derek.buitenhuis <at> gmail.com> writes:

> 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

attributes.h is an installed header, 
so I don't think this is a good idea.

What about #undef av_restrict in config.h ?

Carl Eugen



More information about the ffmpeg-devel mailing list