aboutsummaryrefslogtreecommitdiffstats
path: root/libavutil
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2007-10-17 09:37:46 +0000
committerDiego Biurrun <diego@biurrun.de>2007-10-17 09:37:46 +0000
commit5b21bdabe43611385d1d55a21d5b1f607b133d29 (patch)
treef2365284f51cf77d62573fa8a2d7f15c50baf8be /libavutil
parent6a03549e8a25c2223c117201424899339c0e7be7 (diff)
downloadffmpeg-5b21bdabe43611385d1d55a21d5b1f607b133d29.tar.gz
Add FFMPEG_ prefix to all multiple inclusion guards.
Originally committed as revision 10765 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r--libavutil/adler32.h6
-rw-r--r--libavutil/aes.h6
-rw-r--r--libavutil/avstring.h6
-rw-r--r--libavutil/avutil.h6
-rw-r--r--libavutil/base64.h6
-rw-r--r--libavutil/bswap.h6
-rw-r--r--libavutil/common.h6
-rw-r--r--libavutil/crc.h6
-rw-r--r--libavutil/fifo.h6
-rw-r--r--libavutil/integer.h6
-rw-r--r--libavutil/internal.h6
-rw-r--r--libavutil/intfloat_readwrite.h6
-rw-r--r--libavutil/intreadwrite.h6
-rw-r--r--libavutil/lls.h6
-rw-r--r--libavutil/log.h6
-rw-r--r--libavutil/lzo.h6
-rw-r--r--libavutil/mathematics.h6
-rw-r--r--libavutil/md5.h6
-rw-r--r--libavutil/mem.h6
-rw-r--r--libavutil/random.h6
-rw-r--r--libavutil/rational.h6
-rw-r--r--libavutil/rc4.h6
-rw-r--r--libavutil/sha1.h7
-rw-r--r--libavutil/softfloat.h6
-rw-r--r--libavutil/tree.h6
-rw-r--r--libavutil/x86_cpu.h6
26 files changed, 79 insertions, 78 deletions
diff --git a/libavutil/adler32.h b/libavutil/adler32.h
index 223cbfd223..2e29e05b25 100644
--- a/libavutil/adler32.h
+++ b/libavutil/adler32.h
@@ -18,12 +18,12 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef ADLER32_H
-#define ADLER32_H
+#ifndef FFMPEG_ADLER32_H
+#define FFMPEG_ADLER32_H
#include <stdint.h>
unsigned long av_adler32_update(unsigned long adler, const uint8_t *buf,
unsigned int len);
-#endif
+#endif /* FFMPEG_ADLER32_H */
diff --git a/libavutil/aes.h b/libavutil/aes.h
index a4ee1f9659..438ba170e4 100644
--- a/libavutil/aes.h
+++ b/libavutil/aes.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AES_H
-#define AES_H
+#ifndef FFMPEG_AES_H
+#define FFMPEG_AES_H
#include <stdint.h>
@@ -44,4 +44,4 @@ int av_aes_init(struct AVAES *a, const uint8_t *key, int key_bits, int decrypt);
*/
void av_aes_crypt(struct AVAES *a, uint8_t *dst, uint8_t *src, int count, uint8_t *iv, int decrypt);
-#endif /* AES_H */
+#endif /* FFMPEG_AES_H */
diff --git a/libavutil/avstring.h b/libavutil/avstring.h
index 954174555c..ecac9e6230 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_AVSTRING_H
-#define AVUTIL_AVSTRING_H
+#ifndef FFMPEG_AVSTRING_H
+#define FFMPEG_AVSTRING_H
#include <stddef.h>
@@ -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_AVSTRING_H */
+#endif /* FFMPEG_AVSTRING_H */
diff --git a/libavutil/avutil.h b/libavutil/avutil.h
index 70252863cc..764ae846d7 100644
--- a/libavutil/avutil.h
+++ b/libavutil/avutil.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_H
-#define AVUTIL_H
+#ifndef FFMPEG_AVUTIL_H
+#define FFMPEG_AVUTIL_H
/**
* @file avutil.h
@@ -129,4 +129,4 @@ enum PixelFormat {
#define PIX_FMT_YUV422 PIX_FMT_YUYV422
#endif
-#endif /* AVUTIL_H */
+#endif /* FFMPEG_AVUTIL_H */
diff --git a/libavutil/base64.h b/libavutil/base64.h
index 1ee7014152..e05ead1e03 100644
--- a/libavutil/base64.h
+++ b/libavutil/base64.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_BASE64_H
-#define AVUTIL_BASE64_H
+#ifndef FFMPEG_BASE64_H
+#define FFMPEG_BASE64_H
#include <stdint.h>
@@ -37,4 +37,4 @@ int av_base64_decode(uint8_t * out, const char *in, int out_length);
*/
char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
-#endif // AVUTIL_BASE64_H
+#endif /* FFMPEG_BASE64_H */
diff --git a/libavutil/bswap.h b/libavutil/bswap.h
index 211a15c0ab..850cbe3201 100644
--- a/libavutil/bswap.h
+++ b/libavutil/bswap.h
@@ -23,8 +23,8 @@
* byte swap.
*/
-#ifndef BSWAP_H
-#define BSWAP_H
+#ifndef FFMPEG_BSWAP_H
+#define FFMPEG_BSWAP_H
#include <stdint.h>
#include "common.h"
@@ -138,4 +138,4 @@ static inline uint64_t bswap_64(uint64_t x)
#define le2me_64(x) (x)
#endif
-#endif /* BSWAP_H */
+#endif /* FFMPEG_BSWAP_H */
diff --git a/libavutil/common.h b/libavutil/common.h
index 9550403503..f2dd83b323 100644
--- a/libavutil/common.h
+++ b/libavutil/common.h
@@ -23,8 +23,8 @@
* common internal and external api header.
*/
-#ifndef COMMON_H
-#define COMMON_H
+#ifndef FFMPEG_COMMON_H
+#define FFMPEG_COMMON_H
#include <inttypes.h>
@@ -366,4 +366,4 @@ tend= AV_READ_TIME();\
#define STOP_TIMER(id) {}
#endif
-#endif /* COMMON_H */
+#endif /* FFMPEG_COMMON_H */
diff --git a/libavutil/crc.h b/libavutil/crc.h
index 4fdc4bbd2a..c6205c12a6 100644
--- a/libavutil/crc.h
+++ b/libavutil/crc.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef CRC_H
-#define CRC_H
+#ifndef FFMPEG_CRC_H
+#define FFMPEG_CRC_H
#include <stdint.h>
#include <sys/types.h>
@@ -48,5 +48,5 @@ extern AVCRC av_crc07 [];
int av_crc_init(AVCRC *ctx, int le, int bits, uint32_t poly, int ctx_size);
uint32_t av_crc(const AVCRC *ctx, uint32_t start_crc, const uint8_t *buffer, size_t length);
-#endif /* CRC_H */
+#endif /* FFMPEG_CRC_H */
diff --git a/libavutil/fifo.h b/libavutil/fifo.h
index 278a8c82f3..817a8a6b61 100644
--- a/libavutil/fifo.h
+++ b/libavutil/fifo.h
@@ -21,8 +21,8 @@
* A very simple circular buffer FIFO implementation.
*/
-#ifndef FIFO_H
-#define FIFO_H
+#ifndef FFMPEG_FIFO_H
+#define FFMPEG_FIFO_H
#include <stdint.h>
@@ -99,4 +99,4 @@ static inline uint8_t av_fifo_peek(AVFifoBuffer *f, int offs)
ptr -= f->end - f->buffer;
return *ptr;
}
-#endif /* FIFO_H */
+#endif /* FFMPEG_FIFO_H */
diff --git a/libavutil/integer.h b/libavutil/integer.h
index 2a1df34bc3..f539125d14 100644
--- a/libavutil/integer.h
+++ b/libavutil/integer.h
@@ -25,8 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef INTEGER_H
-#define INTEGER_H
+#ifndef FFMPEG_INTEGER_H
+#define FFMPEG_INTEGER_H
#include <stdint.h>
@@ -80,4 +80,4 @@ AVInteger av_int2i(int64_t a);
*/
int64_t av_i2int(AVInteger a);
-#endif // INTEGER_H
+#endif /* FFMPEG_INTEGER_H */
diff --git a/libavutil/internal.h b/libavutil/internal.h
index 1ae163f4fa..47472cee46 100644
--- a/libavutil/internal.h
+++ b/libavutil/internal.h
@@ -23,8 +23,8 @@
* common internal api header.
*/
-#ifndef INTERNAL_H
-#define INTERNAL_H
+#ifndef FFMPEG_INTERNAL_H
+#define FFMPEG_INTERNAL_H
#if !defined(DEBUG) && !defined(NDEBUG)
# define NDEBUG
@@ -278,4 +278,4 @@ static av_always_inline long int lrintf(float x)
}
#endif /* HAVE_LRINTF */
-#endif /* INTERNAL_H */
+#endif /* FFMPEG_INTERNAL_H */
diff --git a/libavutil/intfloat_readwrite.h b/libavutil/intfloat_readwrite.h
index c535b64c8b..fe7fe35201 100644
--- a/libavutil/intfloat_readwrite.h
+++ b/libavutil/intfloat_readwrite.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef INTFLOAT_READWRITE_H
-#define INTFLOAT_READWRITE_H
+#ifndef FFMPEG_INTFLOAT_READWRITE_H
+#define FFMPEG_INTFLOAT_READWRITE_H
#include "common.h"
@@ -36,4 +36,4 @@ int64_t av_dbl2int(double d);
int32_t av_flt2int(float d);
AVExtFloat av_dbl2ext(double d);
-#endif /* INTFLOAT_READWRITE_H */
+#endif /* FFMPEG_INTFLOAT_READWRITE_H */
diff --git a/libavutil/intreadwrite.h b/libavutil/intreadwrite.h
index d6c1b67ffa..9832b56f35 100644
--- a/libavutil/intreadwrite.h
+++ b/libavutil/intreadwrite.h
@@ -16,8 +16,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef INTREADWRITE_H
-#define INTREADWRITE_H
+#ifndef FFMPEG_INTREADWRITE_H
+#define FFMPEG_INTREADWRITE_H
#include <stdint.h>
#include "bswap.h"
@@ -186,4 +186,4 @@ struct unaligned_16 { uint16_t l; } __attribute__((packed));
((uint8_t*)(p))[7] = (d)>>56; } while(0)
#endif
-#endif /* INTREADWRITE_H */
+#endif /* FFMPEG_INTREADWRITE_H */
diff --git a/libavutil/lls.h b/libavutil/lls.h
index e6d352a9ef..90b2332aa9 100644
--- a/libavutil/lls.h
+++ b/libavutil/lls.h
@@ -20,8 +20,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LLS_H
-#define LLS_H
+#ifndef FFMPEG_LLS_H
+#define FFMPEG_LLS_H
#define MAX_VARS 32
@@ -42,4 +42,4 @@ void av_update_lls(LLSModel *m, double *param, double decay);
void av_solve_lls(LLSModel *m, double threshold, int min_order);
double av_evaluate_lls(LLSModel *m, double *param, int order);
-#endif
+#endif /* FFMPEG_LLS_H */
diff --git a/libavutil/log.h b/libavutil/log.h
index fa88f5fb25..243037239d 100644
--- a/libavutil/log.h
+++ b/libavutil/log.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LOG_H
-#define LOG_H
+#ifndef FFMPEG_LOG_H
+#define FFMPEG_LOG_H
#include <stdarg.h>
@@ -113,4 +113,4 @@ extern void av_log_default_callback(void* ptr, int level, const char* fmt, va_li
extern void (*av_vlog)(void*, int, const char*, va_list);
#endif
-#endif /* LOG_H */
+#endif /* FFMPEG_LOG_H */
diff --git a/libavutil/lzo.h b/libavutil/lzo.h
index 5b3d98f408..00427c1469 100644
--- a/libavutil/lzo.h
+++ b/libavutil/lzo.h
@@ -19,8 +19,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef LZO_H
-#define LZO_H
+#ifndef FFMPEG_LZO_H
+#define FFMPEG_LZO_H
#define LZO_INPUT_DEPLETED 1
#define LZO_OUTPUT_FULL 2
@@ -32,4 +32,4 @@
int lzo1x_decode(void *out, int *outlen, void *in, int *inlen);
-#endif
+#endif /* FFMPEG_LZO_H */
diff --git a/libavutil/mathematics.h b/libavutil/mathematics.h
index 0b74b254b9..a0c286249f 100644
--- a/libavutil/mathematics.h
+++ b/libavutil/mathematics.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MATHEMATICS_H
-#define MATHEMATICS_H
+#ifndef FFMPEG_MATHEMATICS_H
+#define FFMPEG_MATHEMATICS_H
#include "rational.h"
@@ -48,4 +48,4 @@ int64_t av_rescale_rnd(int64_t a, int64_t b, int64_t c, enum AVRounding);
*/
int64_t av_rescale_q(int64_t a, AVRational bq, AVRational cq);
-#endif /* MATHEMATICS_H */
+#endif /* FFMPEG_MATHEMATICS_H */
diff --git a/libavutil/md5.h b/libavutil/md5.h
index fa83b1cdfe..7d63df01b3 100644
--- a/libavutil/md5.h
+++ b/libavutil/md5.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef MD5_H
-#define MD5_H
+#ifndef FFMPEG_MD5_H
+#define FFMPEG_MD5_H
#include <stdint.h>
@@ -32,5 +32,5 @@ void av_md5_update(struct AVMD5 *ctx, const uint8_t *src, const int len);
void av_md5_final(struct AVMD5 *ctx, uint8_t *dst);
void av_md5_sum(uint8_t *dst, const uint8_t *src, const int len);
-#endif /* MD5_H */
+#endif /* FFMPEG_MD5_H */
diff --git a/libavutil/mem.h b/libavutil/mem.h
index 0d3e7f3ba0..db49c8d515 100644
--- a/libavutil/mem.h
+++ b/libavutil/mem.h
@@ -23,8 +23,8 @@
* Memory handling functions.
*/
-#ifndef AV_MEM_H
-#define AV_MEM_H
+#ifndef FFMPEG_MEM_H
+#define FFMPEG_MEM_H
#ifdef __GNUC__
#define DECLARE_ALIGNED(n,t,v) t v __attribute__ ((aligned (n)))
@@ -69,4 +69,4 @@ char *av_strdup(const char *s);
*/
void av_freep(void *ptr);
-#endif /* AV_MEM_H */
+#endif /* FFMPEG_MEM_H */
diff --git a/libavutil/random.h b/libavutil/random.h
index d9d08a5de1..4d00d7e00f 100644
--- a/libavutil/random.h
+++ b/libavutil/random.h
@@ -21,8 +21,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AV_RANDOM_H
-#define AV_RANDOM_H
+#ifndef FFMPEG_RANDOM_H
+#define FFMPEG_RANDOM_H
#define AV_RANDOM_N 624
@@ -65,5 +65,5 @@ static inline double av_random_real1(AVRandomState *state)
// only available if DEBUG is defined in the .c file
void av_benchmark_random(void);
-#endif // AV_RANDOM_H
+#endif /* FFMPEG_RANDOM_H */
diff --git a/libavutil/rational.h b/libavutil/rational.h
index 8826772084..f53f278619 100644
--- a/libavutil/rational.h
+++ b/libavutil/rational.h
@@ -25,8 +25,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef RATIONAL_H
-#define RATIONAL_H
+#ifndef FFMPEG_RATIONAL_H
+#define FFMPEG_RATIONAL_H
#include <stdint.h>
@@ -112,4 +112,4 @@ AVRational av_sub_q(AVRational b, AVRational c);
*/
AVRational av_d2q(double d, int max);
-#endif // RATIONAL_H
+#endif /* FFMPEG_RATIONAL_H */
diff --git a/libavutil/rc4.h b/libavutil/rc4.h
index d3b8e6cb81..5e4f086f97 100644
--- a/libavutil/rc4.h
+++ b/libavutil/rc4.h
@@ -18,9 +18,9 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef RC4_H
-#define RC4_H
+#ifndef FFMPEG_RC4_H
+#define FFMPEG_RC4_H
void ff_rc4_enc(const uint8_t *key, int keylen, uint8_t *data, int datalen);
-#endif /* RC4_H */
+#endif /* FFMPEG_RC4_H */
diff --git a/libavutil/sha1.h b/libavutil/sha1.h
index 87974a2922..f00ecf0d5b 100644
--- a/libavutil/sha1.h
+++ b/libavutil/sha1.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AV_SHA1_H
-#define AV_SHA1_H
+#ifndef FFMPEG_SHA1_H
+#define FFMPEG_SHA1_H
#include <stdint.h>
@@ -30,4 +30,5 @@ struct AVSHA1;
void av_sha1_init(struct AVSHA1* context);
void av_sha1_update(struct AVSHA1* context, uint8_t* data, unsigned int len);
void av_sha1_final(struct AVSHA1* context, uint8_t digest[20]);
-#endif
+
+#endif /* FFMPEG_SHA1_H */
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index a0d614bbd6..d1a1901ea5 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_SOFTFLOAT_H
-#define AVUTIL_SOFTFLOAT_H
+#ifndef FFMPEG_SOFTFLOAT_H
+#define FFMPEG_SOFTFLOAT_H
#include <stdint.h>
@@ -125,4 +125,4 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){
else return v.mant >>(-v.exp);
}
-#endif // AVUTIL_SOFTFLOAT_H
+#endif /* FFMPEG_SOFTFLOAT_H */
diff --git a/libavutil/tree.h b/libavutil/tree.h
index be17358580..146d35d56e 100644
--- a/libavutil/tree.h
+++ b/libavutil/tree.h
@@ -24,8 +24,8 @@
* @author Michael Niedermayer <michaelni@gmx.at>
*/
-#ifndef TREE_H
-#define TREE_H
+#ifndef FFMPEG_TREE_H
+#define FFMPEG_TREE_H
struct AVTreeNode;
@@ -55,4 +55,4 @@ void *av_tree_find(const struct AVTreeNode *root, void *key, int (*cmp)(void *ke
void *av_tree_insert(struct AVTreeNode **rootp, void *key, int (*cmp)(void *key, const void *b));
void av_tree_destroy(struct AVTreeNode *t);
-#endif /* TREE_H */
+#endif /* FFMPEG_TREE_H */
diff --git a/libavutil/x86_cpu.h b/libavutil/x86_cpu.h
index 0e4b5d16c9..f0e875f630 100644
--- a/libavutil/x86_cpu.h
+++ b/libavutil/x86_cpu.h
@@ -18,8 +18,8 @@
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
-#ifndef AVUTIL_X86CPU_H
-#define AVUTIL_X86CPU_H
+#ifndef FFMPEG_X86CPU_H
+#define FFMPEG_X86CPU_H
#ifdef ARCH_X86_64
# define REG_a "rax"
@@ -65,4 +65,4 @@
# define BROKEN_RELOCATIONS 1
#endif
-#endif /* AVUTIL_X86CPU_H */
+#endif /* FFMPEG_X86CPU_H */