diff options
author | Diego Biurrun <diego@biurrun.de> | 2007-10-17 09:31:06 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-10-17 09:31:06 +0000 |
commit | 31b2c1446f7cc7c10f217093f695edfc1b1be498 (patch) | |
tree | c7f96030dc8545b85ce5c91d20c698031a5a8d9d /libavcodec/i386 | |
parent | ca34b9e61551506aab28a0839999d6caa05dcece (diff) | |
download | ffmpeg-31b2c1446f7cc7c10f217093f695edfc1b1be498.tar.gz |
Add missing multiple inclusion guards.
Originally committed as revision 10763 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/i386')
-rw-r--r-- | libavcodec/i386/dsputil_mmx_avg.h | 5 | ||||
-rw-r--r-- | libavcodec/i386/dsputil_mmx_qns.h | 4 | ||||
-rw-r--r-- | libavcodec/i386/dsputil_mmx_rnd.h | 5 |
3 files changed, 13 insertions, 1 deletions
diff --git a/libavcodec/i386/dsputil_mmx_avg.h b/libavcodec/i386/dsputil_mmx_avg.h index d37d300646..63c714a144 100644 --- a/libavcodec/i386/dsputil_mmx_avg.h +++ b/libavcodec/i386/dsputil_mmx_avg.h @@ -24,6 +24,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef FFMPEG_DSPUTIL_MMX_AVG_H +#define FFMPEG_DSPUTIL_MMX_AVG_H + /* XXX: we use explicit registers to avoid a gcc 2.95.2 register asm clobber bug - now it will work with 2.95.2 and also with -fPIC */ @@ -869,3 +872,5 @@ QPEL_2TAP_L3(avg_) QPEL_2TAP_L3(put_) #undef STORE_OP #undef QPEL_2TAP_L3 + +#endif /* FFMPEG_DSPUTIL_MMX_AVG_H */ diff --git a/libavcodec/i386/dsputil_mmx_qns.h b/libavcodec/i386/dsputil_mmx_qns.h index 06bcb6d7ba..1f8c27bfe8 100644 --- a/libavcodec/i386/dsputil_mmx_qns.h +++ b/libavcodec/i386/dsputil_mmx_qns.h @@ -22,6 +22,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef FFMPEG_DSPUTIL_MMX_QNS_H +#define FFMPEG_DSPUTIL_MMX_QNS_H + #define MAX_ABS (512 >> (SCALE_OFFSET>0 ? SCALE_OFFSET : 0)) static int DEF(try_8x8basis)(int16_t rem[64], int16_t weight[64], int16_t basis[64], int scale) @@ -100,3 +103,4 @@ static void DEF(add_8x8basis)(int16_t rem[64], int16_t basis[64], int scale) } } +#endif /* FFMPEG_DSPUTIL_MMX_QNS_H */ diff --git a/libavcodec/i386/dsputil_mmx_rnd.h b/libavcodec/i386/dsputil_mmx_rnd.h index 601800a9e0..2b28fd4568 100644 --- a/libavcodec/i386/dsputil_mmx_rnd.h +++ b/libavcodec/i386/dsputil_mmx_rnd.h @@ -24,6 +24,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef FFMPEG_DSPUTIL_MMX_RND_H +#define FFMPEG_DSPUTIL_MMX_RND_H + // put_pixels static void DEF(put, pixels8_x2)(uint8_t *block, const uint8_t *pixels, int line_size, int h) { @@ -589,4 +592,4 @@ static void DEF(avg, pixels16_xy2)(uint8_t *block, const uint8_t *pixels, int li DEF(avg, pixels8_xy2)(block+8, pixels+8, line_size, h); } - +#endif /* FFMPEG_DSPUTIL_MMX_RND_H */ |