changeset 5902:36a80fc5d25c libavcodec

add multiple inclusion guards
author aurel
date Fri, 09 Nov 2007 23:12:31 +0000
parents 35c91d1b84c0
children b838537e0ab3
files intrax8.h intrax8huf.h
diffstat 2 files changed, 10 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/intrax8.h	Fri Nov 09 22:15:46 2007 +0000
+++ b/intrax8.h	Fri Nov 09 23:12:31 2007 +0000
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_INTRAX8_H
+#define FFMPEG_INTRAX8_H
+
 typedef struct{
     VLC * j_ac_vlc[4];//they point to the static j_mb_vlc
     VLC * j_orient_vlc;
@@ -46,3 +49,5 @@
 
 void ff_intrax8_common_init(IntraX8Context * w, MpegEncContext * const s);
 int  ff_intrax8_decode_picture(IntraX8Context * w, int quant, int halfpq);
+
+#endif /* FFMPEG_INTRAX8_H */
--- a/intrax8huf.h	Fri Nov 09 22:15:46 2007 +0000
+++ b/intrax8huf.h	Fri Nov 09 23:12:31 2007 +0000
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef FFMPEG_INTRAX8HUF_H
+#define FFMPEG_INTRAX8HUF_H
+
 #include <inttypes.h>
 
 
@@ -911,3 +914,5 @@
     }
 };
 #define MAX_AC_VLC_BITS 16
+
+#endif /* FFMPEG_INTRAX8HUF_H */