[FFmpeg-cvslog] r9461 - in trunk: libavcodec/ps2/mmi.h libavcodec/snow.h libavformat/framehook.h libavformat/os_support.h libavutil/bswap.h libavutil/internal.h libpostproc/mangle.h
diego
subversion
Mon Jul 2 19:00:04 CEST 2007
Author: diego
Date: Mon Jul 2 19:00:04 2007
New Revision: 9461
Log:
Remove leading underscores from specifiers, they are reserved.
Modified:
trunk/libavcodec/ps2/mmi.h
trunk/libavcodec/snow.h
trunk/libavformat/framehook.h
trunk/libavformat/os_support.h
trunk/libavutil/bswap.h
trunk/libavutil/internal.h
trunk/libpostproc/mangle.h
Modified: trunk/libavcodec/ps2/mmi.h
==============================================================================
--- trunk/libavcodec/ps2/mmi.h (original)
+++ trunk/libavcodec/ps2/mmi.h Mon Jul 2 19:00:04 2007
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __mmi_H
-#define __mmi_H
+#ifndef MMI_H
+#define MMI_H
#define align16 __attribute__ ((aligned (16)))
Modified: trunk/libavcodec/snow.h
==============================================================================
--- trunk/libavcodec/snow.h (original)
+++ trunk/libavcodec/snow.h Mon Jul 2 19:00:04 2007
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _SNOW_H
-#define _SNOW_H
+#ifndef SNOW_H
+#define SNOW_H
#include "dsputil.h"
Modified: trunk/libavformat/framehook.h
==============================================================================
--- trunk/libavformat/framehook.h (original)
+++ trunk/libavformat/framehook.h Mon Jul 2 19:00:04 2007
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _FRAMEHOOK_H
-#define _FRAMEHOOK_H
+#ifndef FRAMEHOOK_H
+#define FRAMEHOOK_H
#warning VHOOK is deprecated. Please help porting libmpcodecs or a better filter system to FFmpeg instead of wasting your time writing new filters for this crappy one.
Modified: trunk/libavformat/os_support.h
==============================================================================
--- trunk/libavformat/os_support.h (original)
+++ trunk/libavformat/os_support.h Mon Jul 2 19:00:04 2007
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef _OS_SUPPORT_H
-#define _OS_SUPPORT_H
+#ifndef OS_SUPPORT_H
+#define OS_SUPPORT_H
/**
* @file os_support.h
@@ -108,4 +108,4 @@ extern int poll(struct pollfd *fds, nfds
#endif /* HAVE_SYS_POLL_H */
#endif /* CONFIG_FFSERVER */
-#endif /* _OS_SUPPORT_H */
+#endif /* OS_SUPPORT_H */
Modified: trunk/libavutil/bswap.h
==============================================================================
--- trunk/libavutil/bswap.h (original)
+++ trunk/libavutil/bswap.h Mon Jul 2 19:00:04 2007
@@ -23,8 +23,8 @@
* byte swap.
*/
-#ifndef __BSWAP_H__
-#define __BSWAP_H__
+#ifndef BSWAP_H
+#define BSWAP_H
#include <stdint.h>
#include "common.h"
@@ -138,4 +138,4 @@ static inline uint64_t bswap_64(uint64_t
#define le2me_64(x) (x)
#endif
-#endif /* __BSWAP_H__ */
+#endif /* BSWAP_H */
Modified: trunk/libavutil/internal.h
==============================================================================
--- trunk/libavutil/internal.h (original)
+++ trunk/libavutil/internal.h Mon Jul 2 19:00:04 2007
@@ -243,7 +243,7 @@ if((y)<(x)){\
#define sprintf sprintf_is_forbidden_due_to_security_issues_use_snprintf
#define strcat strcat_is_forbidden_due_to_security_issues_use_av_strlcat
#define exit exit_is_forbidden
-#if !(defined(LIBAVFORMAT_BUILD) || defined(_FRAMEHOOK_H))
+#if !(defined(LIBAVFORMAT_BUILD) || defined(FRAMEHOOK_H))
#define printf please_use_av_log
#define fprintf please_use_av_log
#endif
Modified: trunk/libpostproc/mangle.h
==============================================================================
--- trunk/libpostproc/mangle.h (original)
+++ trunk/libpostproc/mangle.h Mon Jul 2 19:00:04 2007
@@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef __MANGLE_H
-#define __MANGLE_H
+#ifndef MANGLE_H
+#define MANGLE_H
/* Feel free to add more to the list, eg. a.out IMO */
/* Use rip-relative addressing if compiling PIC code on x86-64. */
@@ -43,5 +43,5 @@
#endif
#endif
-#endif /* !__MANGLE_H */
+#endif /* !MANGLE_H */
More information about the ffmpeg-cvslog
mailing list