From: Diego Biurrun Date: Wed, 17 Oct 2007 09:16:21 +0000 (+0000) Subject: Use filename as multiple inclusion guard. X-Git-Tag: v0.5~7223 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=52703a6459d164f30f850f31333946393f1dd414;p=coroid%2Flibav_saccubus.git Use filename as multiple inclusion guard. Originally committed as revision 10760 to svn://svn.ffmpeg.org/ffmpeg/trunk --- diff --git a/libavcodec/libxvid_internal.h b/libavcodec/libxvid_internal.h index a86ee565f..37df2080d 100644 --- a/libavcodec/libxvid_internal.h +++ b/libavcodec/libxvid_internal.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef XVID_INTERNAL_H -#define XVID_INTERNAL_H +#ifndef LIBXVID_INTERNAL_H +#define LIBXVID_INTERNAL_H /** * @file libxvid_internal.h @@ -29,4 +29,4 @@ int av_tempfile(char *prefix, char **filename); -#endif /* XVID_INTERNAL_H */ +#endif /* LIBXVID_INTERNAL_H */ diff --git a/libavformat/ogg2.h b/libavformat/ogg2.h index 123078782..55a4a75e3 100644 --- a/libavformat/ogg2.h +++ b/libavformat/ogg2.h @@ -22,8 +22,8 @@ DEALINGS IN THE SOFTWARE. **/ -#ifndef OGG_H -#define OGG_H +#ifndef OGG2_H +#define OGG2_H #include "avformat.h" @@ -84,4 +84,4 @@ extern ogg_codec_t ogm_old_codec; extern int vorbis_comment(AVFormatContext *ms, uint8_t *buf, int size); -#endif +#endif /* OGG2_H */ diff --git a/libavutil/avstring.h b/libavutil/avstring.h index f25dd31d0..954174555 100644 --- a/libavutil/avstring.h +++ b/libavutil/avstring.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef AVUTIL_STRING_H -#define AVUTIL_STRING_H +#ifndef AVUTIL_AVSTRING_H +#define AVUTIL_AVSTRING_H #include @@ -87,4 +87,4 @@ size_t av_strlcat(char *dst, const char *src, size_t size); */ size_t av_strlcatf(char *dst, size_t size, const char *fmt, ...); -#endif /* AVUTIL_STRING_H */ +#endif /* AVUTIL_AVSTRING_H */ diff --git a/libpostproc/postprocess.h b/libpostproc/postprocess.h index aa5714d04..ac4533b2c 100644 --- a/libpostproc/postprocess.h +++ b/libpostproc/postprocess.h @@ -18,8 +18,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ -#ifndef NEWPOSTPROCESS_H -#define NEWPOSTPROCESS_H +#ifndef POSTPROCESS_H +#define POSTPROCESS_H /** * @file postprocess.h @@ -75,4 +75,4 @@ void pp_free_context(pp_context_t *ppContext); #define PP_PICT_TYPE_QP2 0x00000010 ///< MPEG2 style QScale -#endif +#endif /* POSTPROCESS_H */