summaryrefslogtreecommitdiffstats
path: root/libmpcodecs
diff options
context:
space:
mode:
Diffstat (limited to 'libmpcodecs')
-rw-r--r--libmpcodecs/native/RTjpegN.h5
-rw-r--r--libmpcodecs/native/xa_gsm.h4
-rw-r--r--libmpcodecs/native/xa_gsm_int.h4
3 files changed, 11 insertions, 2 deletions
diff --git a/libmpcodecs/native/RTjpegN.h b/libmpcodecs/native/RTjpegN.h
index 98174a0b9c..057ade76e2 100644
--- a/libmpcodecs/native/RTjpegN.h
+++ b/libmpcodecs/native/RTjpegN.h
@@ -21,6 +21,9 @@
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
*/
+#ifndef RTJPEGN_H
+#define RTJPEGN_H
+
#define __u8 uint8_t
#define __u16 uint16_t
#define __u32 uint32_t
@@ -52,5 +55,5 @@ extern void RTjpeg_yuvrgb8(__u8 *buf, __u8 *rgb, int stride);
extern void RTjpeg_yuvrgb16(__u8 *buf, __u8 *rgb, int stride);
extern void RTjpeg_yuvrgb24(__u8 *buf, __u8 *rgb, int stride);
extern void RTjpeg_yuvrgb32(__u8 *buf, __u8 *rgb, int stride);
-
+#endif /* RTJPEGN_H */
diff --git a/libmpcodecs/native/xa_gsm.h b/libmpcodecs/native/xa_gsm.h
index 232a7761e4..670d9a418c 100644
--- a/libmpcodecs/native/xa_gsm.h
+++ b/libmpcodecs/native/xa_gsm.h
@@ -1,6 +1,8 @@
+#ifndef XA_GSM_H
+#define XA_GSM_H
void XA_MSGSM_Decoder(unsigned char *ibuf,unsigned short *obuf);
void XA_GSM_Decoder(unsigned char *ibuf,unsigned short *obuf);
void GSM_Init(void);
-
+#endif /* XA_GSM_H */
diff --git a/libmpcodecs/native/xa_gsm_int.h b/libmpcodecs/native/xa_gsm_int.h
index 3d459a4e29..a147308445 100644
--- a/libmpcodecs/native/xa_gsm_int.h
+++ b/libmpcodecs/native/xa_gsm_int.h
@@ -22,6 +22,9 @@
*
********************************************************************/
+#ifndef XA_GSM_INT_H
+#define XA_GSM_INT_H
+
#include "xa_gsm.h"
@@ -128,3 +131,4 @@ typedef struct {
*/
+#endif /* XA_GSM_INT_H */