diff options
author | Måns Rullgård <mans@mansr.com> | 2007-06-17 04:01:30 +0400 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2007-06-17 04:01:30 +0400 |
commit | 699b3f99d0376a8fd5159bdad857228bda59cff6 (patch) | |
tree | 5df6def799acb5cb1a19d85e770ceafdc4d088a4 /libavutil | |
parent | 99545457bf1175d55e4eaa2c061dbf0faeb661ec (diff) |
add multiple inclusion guards to headers
Originally committed as revision 9345 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavutil')
-rw-r--r-- | libavutil/base64.h | 4 | ||||
-rw-r--r-- | libavutil/softfloat.h | 5 |
2 files changed, 9 insertions, 0 deletions
diff --git a/libavutil/base64.h b/libavutil/base64.h index 7f21c71c71..ff755a4cdf 100644 --- a/libavutil/base64.h +++ b/libavutil/base64.h @@ -19,6 +19,9 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA */ +#ifndef AVUTIL_BASE64_H +#define AVUTIL_BASE64_H + #include <stdint.h> /** @@ -34,3 +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 diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h index 422c1b3d6d..acf29b2ac5 100644 --- a/libavutil/softfloat.h +++ b/libavutil/softfloat.h @@ -19,6 +19,9 @@ * */ +#ifndef AVUTIL_SOFTFLOAT_H +#define AVUTIL_SOFTFLOAT_H + #include <stdint.h> #define MIN_EXP -126 @@ -122,3 +125,5 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){ if(v.exp >= 0) return v.mant << v.exp ; else return v.mant >>(-v.exp); } + +#endif |