Mercurial > libavcodec.hg
diff avcodec.h @ 7760:c4a4495715dd libavcodec
Globally rename the header inclusion guard names.
Consistently apply this rule: the guard name is obtained from the
filename by stripping the leading "lib", converting '/' and '.' to
'_' and uppercasing the resulting name. Guard names in the root
directory have to be prefixed by "FFMPEG_".
author | stefano |
---|---|
date | Sun, 31 Aug 2008 07:39:47 +0000 |
parents | 968241bb5e88 |
children | e5f7a43f63ae |
line wrap: on
line diff
--- a/avcodec.h Sun Aug 31 07:05:55 2008 +0000 +++ b/avcodec.h Sun Aug 31 07:39:47 2008 +0000 @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef FFMPEG_AVCODEC_H -#define FFMPEG_AVCODEC_H +#ifndef AVCODEC_AVCODEC_H +#define AVCODEC_AVCODEC_H /** * @file avcodec.h @@ -3074,4 +3074,4 @@ #define AVERROR_NOENT AVERROR(ENOENT) /**< No such file or directory. */ #define AVERROR_PATCHWELCOME -MKTAG('P','A','W','E') /**< Not yet implemented in FFmpeg. Patches welcome. */ -#endif /* FFMPEG_AVCODEC_H */ +#endif /* AVCODEC_AVCODEC_H */