diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-18 17:09:46 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-18 17:09:46 +0000 |
commit | e96682e6f4c1fbddf468f9f051729332163c1db9 (patch) | |
tree | 6365d37b821ceb5e03f282ebf660f9f014903fca /libavcodec/avcodec.h | |
parent | 12cccabd0fedca3846f1381971aaffd30374bede (diff) | |
download | ffmpeg-e96682e6f4c1fbddf468f9f051729332163c1db9.tar.gz |
some of the warning fixes by (Michael Roitzsch <mroi at users dot sourceforge dot net>)
Originally committed as revision 3140 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index f4605bec81..e56a5b280d 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2159,6 +2159,7 @@ extern void av_log_set_level(int); extern void av_log_set_callback(void (*)(void*, int, const char*, va_list)); /* endian macros */ +#if !defined(BE_16) || !defined(BE_32) || !defined(LE_16) || !defined(LE_32) #define BE_16(x) ((((uint8_t*)(x))[0] << 8) | ((uint8_t*)(x))[1]) #define BE_32(x) ((((uint8_t*)(x))[0] << 24) | \ (((uint8_t*)(x))[1] << 16) | \ @@ -2169,6 +2170,7 @@ extern void av_log_set_callback(void (*)(void*, int, const char*, va_list)); (((uint8_t*)(x))[2] << 16) | \ (((uint8_t*)(x))[1] << 8) | \ ((uint8_t*)(x))[0]) +#endif #ifdef __cplusplus } |