[FFmpeg-cvslog] r9345 - in trunk: libavcodec/armv4l/mathops.h libavcodec/atrac3data.h libavcodec/bethsoftvideo.h libavcodec/bmp.h libavcodec/cavsdata.h libavcodec/cookdata.h libavcodec/dca.h libavcodec/dcadata.h libavcodec/dcahuff.h libavcodec/dnxhddata.h libavcodec/dvdata.h libavcodec/elbg.h libavcodec/faandct.h libavcodec/golomb.h libavcodec/h261.h libavcodec/h261data.h libavcodec/h263_parser.h libavcodec/h263data.h libavcodec/h264data.h libavcodec/i386/mathops.h libavcodec/imcdata.h libavcodec/indeo2data.h libavcodec/indeo3data.h libavcodec/mpcdata.h libavcodec/mpeg12data.h libavcodec/mpeg4data.h libavcodec/mpegaudiodectab.h libavcodec/mpegaudiotab.h libavcodec/msmpeg4tab.h libavcodec/ppc/mathops.h libavcodec/ppc/types_altivec.h libavcodec/rangecoder.h libavcodec/roqvideo.h libavcodec/simple_idct.h libavcodec/sparc/vis.h libavcodec/svq1_cb.h libavcodec/ulti_cb.h libavcodec/vc1.h libavcodec/vc1acdata.h libavcodec/vorbis_enc_data.h libavcodec/wmadata.h libavcodec/xiph.h libavcodec/xvmc_render.h libavformat/asf.h libavformat/dv.h libavformat/mpegts.h libavformat/nut.h libavformat/rtspcodes.h libavutil/base64.h libavutil/softfloat.h libpostproc/postprocess_internal.h

mru subversion
Sun Jun 17 02:01:30 CEST 2007


Author: mru
Date: Sun Jun 17 02:01:30 2007
New Revision: 9345

Log:
add multiple inclusion guards to headers


Modified:
   trunk/libavcodec/armv4l/mathops.h
   trunk/libavcodec/atrac3data.h
   trunk/libavcodec/bethsoftvideo.h
   trunk/libavcodec/bmp.h
   trunk/libavcodec/cavsdata.h
   trunk/libavcodec/cookdata.h
   trunk/libavcodec/dca.h
   trunk/libavcodec/dcadata.h
   trunk/libavcodec/dcahuff.h
   trunk/libavcodec/dnxhddata.h
   trunk/libavcodec/dvdata.h
   trunk/libavcodec/elbg.h
   trunk/libavcodec/faandct.h
   trunk/libavcodec/golomb.h
   trunk/libavcodec/h261.h
   trunk/libavcodec/h261data.h
   trunk/libavcodec/h263_parser.h
   trunk/libavcodec/h263data.h
   trunk/libavcodec/h264data.h
   trunk/libavcodec/i386/mathops.h
   trunk/libavcodec/imcdata.h
   trunk/libavcodec/indeo2data.h
   trunk/libavcodec/indeo3data.h
   trunk/libavcodec/mpcdata.h
   trunk/libavcodec/mpeg12data.h
   trunk/libavcodec/mpeg4data.h
   trunk/libavcodec/mpegaudiodectab.h
   trunk/libavcodec/mpegaudiotab.h
   trunk/libavcodec/msmpeg4tab.h
   trunk/libavcodec/ppc/mathops.h
   trunk/libavcodec/ppc/types_altivec.h
   trunk/libavcodec/rangecoder.h
   trunk/libavcodec/roqvideo.h
   trunk/libavcodec/simple_idct.h
   trunk/libavcodec/sparc/vis.h
   trunk/libavcodec/svq1_cb.h
   trunk/libavcodec/ulti_cb.h
   trunk/libavcodec/vc1.h
   trunk/libavcodec/vc1acdata.h
   trunk/libavcodec/vorbis_enc_data.h
   trunk/libavcodec/wmadata.h
   trunk/libavcodec/xiph.h
   trunk/libavcodec/xvmc_render.h
   trunk/libavformat/asf.h
   trunk/libavformat/dv.h
   trunk/libavformat/mpegts.h
   trunk/libavformat/nut.h
   trunk/libavformat/rtspcodes.h
   trunk/libavutil/base64.h
   trunk/libavutil/softfloat.h
   trunk/libpostproc/postprocess_internal.h

Modified: trunk/libavcodec/armv4l/mathops.h
==============================================================================
--- trunk/libavcodec/armv4l/mathops.h	(original)
+++ trunk/libavcodec/armv4l/mathops.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_ARM_MATHOPS_H
+#define AVCODEC_ARM_MATHOPS_H
+
 #ifdef FRAC_BITS
 #   define MULL(a, b) \
         ({  int lo, hi;\
@@ -47,3 +50,5 @@
          __rt; })
 
 #endif
+
+#endif

Modified: trunk/libavcodec/atrac3data.h
==============================================================================
--- trunk/libavcodec/atrac3data.h	(original)
+++ trunk/libavcodec/atrac3data.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * Atrac 3 AKA RealAudio 8 compatible decoder data
  */
 
+#ifndef AVCODEC_ATRAC3DATA_H
+#define AVCODEC_ATRAC3DATA_H
+
 #include <stdint.h>
 
 /* VLC tables */
@@ -133,3 +136,5 @@ static const float qmf_48tap_half[24] = 
 
 /* joint stereo related tables */
 static const float matrixCoeffs[8] = {0.0, 2.0, 2.0, 2.0, 0.0, 0.0, 1.0, 1.0};
+
+#endif

Modified: trunk/libavcodec/bethsoftvideo.h
==============================================================================
--- trunk/libavcodec/bethsoftvideo.h	(original)
+++ trunk/libavcodec/bethsoftvideo.h	Sun Jun 17 02:01:30 2007
@@ -1,3 +1,6 @@
+#ifndef AVCODEC_BETHSOFTVIDEO_H
+#define AVCODEC_BETHSOFTVIDEO_H
+
 enum BethsoftVidBlockType
 {
     PALETTE_BLOCK       = 0x02,
@@ -8,3 +11,5 @@ enum BethsoftVidBlockType
     VIDEO_YOFF_P_FRAME  = 0x04,
     EOF_BLOCK           = 0x14,
 };
+
+#endif

Modified: trunk/libavcodec/bmp.h
==============================================================================
--- trunk/libavcodec/bmp.h	(original)
+++ trunk/libavcodec/bmp.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_BMP_H
+#define AVCODEC_BMP_H
+
 #include "avcodec.h"
 
 typedef struct BMPContext {
@@ -31,3 +34,5 @@ typedef enum {
     BMP_RLE4        =2,
     BMP_BITFIELDS   =3,
 } BiCompression;
+
+#endif

Modified: trunk/libavcodec/cavsdata.h
==============================================================================
--- trunk/libavcodec/cavsdata.h	(original)
+++ trunk/libavcodec/cavsdata.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef AVCODEC_CAVSDATA_H
+#define AVCODEC_CAVSDATA_H
+
 #include "cavs.h"
 
 static const uint8_t partition_flags[30] = {
@@ -514,3 +517,5 @@ static const int_fast8_t left_modifier_l
 static const int_fast8_t top_modifier_l[8]  = {-1, 1, 5,-1,-1, 5, 7, 7};
 static const int_fast8_t left_modifier_c[7] = { 5,-1, 2,-1, 6, 5, 6};
 static const int_fast8_t top_modifier_c[7]  = { 4, 1,-1,-1, 4, 6, 6};
+
+#endif

Modified: trunk/libavcodec/cookdata.h
==============================================================================
--- trunk/libavcodec/cookdata.h	(original)
+++ trunk/libavcodec/cookdata.h	Sun Jun 17 02:01:30 2007
@@ -26,6 +26,9 @@
  * Cook AKA RealAudio G2 compatible decoderdata
  */
 
+#ifndef AVCODEC_COOKDATA_H
+#define AVCODEC_COOKDATA_H
+
 #include <stdint.h>
 
 /* various data tables */
@@ -559,3 +562,5 @@ static const float cplscale6[63] = {
 static const float* cplscales[5] = {
     cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
 };
+
+#endif

Modified: trunk/libavcodec/dca.h
==============================================================================
--- trunk/libavcodec/dca.h	(original)
+++ trunk/libavcodec/dca.h	Sun Jun 17 02:01:30 2007
@@ -22,8 +22,13 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_DCA_H
+#define AVCODEC_DCA_H
+
 /** DCA syncwords, also used for bitstream type detection */
 #define DCA_MARKER_RAW_BE 0x7FFE8001
 #define DCA_MARKER_RAW_LE 0xFE7F0180
 #define DCA_MARKER_14B_BE 0x1FFFE800
 #define DCA_MARKER_14B_LE 0xFF1F00E8
+
+#endif

Modified: trunk/libavcodec/dcadata.h
==============================================================================
--- trunk/libavcodec/dcadata.h	(original)
+++ trunk/libavcodec/dcadata.h	Sun Jun 17 02:01:30 2007
@@ -24,6 +24,9 @@
  * @file dcadata.c
  */
 
+#ifndef AVCODEC_DCADATA_H
+#define AVCODEC_DCADATA_H
+
 #include <stdint.h>
 
 /* Generic tables */
@@ -8467,3 +8470,5 @@ where Ch(n) represents the subband sampl
 
 
 */
+
+#endif

Modified: trunk/libavcodec/dcahuff.h
==============================================================================
--- trunk/libavcodec/dcahuff.h	(original)
+++ trunk/libavcodec/dcahuff.h	Sun Jun 17 02:01:30 2007
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_DCAHUFF_H
+#define AVCODEC_DCAHUFF_H
+
 #include <stdint.h>
 #include <stdlib.h>
 
@@ -1069,3 +1072,5 @@ static const uint8_t* bitalloc_bits[10][
   { bitalloc_129_bits_a, bitalloc_129_bits_b, bitalloc_129_bits_c, bitalloc_129_bits_d,
     bitalloc_129_bits_e, bitalloc_129_bits_f, bitalloc_129_bits_g, NULL }
 };
+
+#endif

Modified: trunk/libavcodec/dnxhddata.h
==============================================================================
--- trunk/libavcodec/dnxhddata.h	(original)
+++ trunk/libavcodec/dnxhddata.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_DNXHDDATA_H
+#define AVCODEC_DNXHDDATA_H
+
 #include <stdint.h>
 
 static const uint8_t dnxhd_1238_luma_weigth[] = {
@@ -106,3 +109,5 @@ static const uint8_t dnxhd_1238_run_bits
 static const uint8_t dnxhd_1238_run[62] = {
     1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 20, 21, 17, 18, 19, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62,
 };
+
+#endif

Modified: trunk/libavcodec/dvdata.h
==============================================================================
--- trunk/libavcodec/dvdata.h	(original)
+++ trunk/libavcodec/dvdata.h	Sun Jun 17 02:01:30 2007
@@ -24,6 +24,9 @@
  * Constants for DV codec.
  */
 
+#ifndef AVCODEC_DVDATA_H
+#define AVCODEC_DVDATA_H
+
 #include "avcodec.h"
 #include "rational.h"
 
@@ -2725,3 +2728,5 @@ static inline int dv_write_ssyb_id(uint8
     buf[2] = 0xff;             /* reserved -- always 1 */
     return 3;
 }
+
+#endif

Modified: trunk/libavcodec/elbg.h
==============================================================================
--- trunk/libavcodec/elbg.h	(original)
+++ trunk/libavcodec/elbg.h	Sun Jun 17 02:01:30 2007
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_ELBG_H
+#define AVCODEC_ELBG_H
+
 #include "random.h"
 
 /**
@@ -48,3 +51,5 @@ void ff_do_elbg(int *points, int dim, in
 void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
                   int numCB, int num_steps, int *closest_cb,
                   AVRandomState *rand_state);
+
+#endif

Modified: trunk/libavcodec/faandct.h
==============================================================================
--- trunk/libavcodec/faandct.h	(original)
+++ trunk/libavcodec/faandct.h	Sun Jun 17 02:01:30 2007
@@ -27,9 +27,14 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
+#ifndef AVCODEC_FAANDCT_H
+#define AVCODEC_FAANDCT_H
+
 #include "dsputil.h"
 
 #define FAAN_POSTSCALE
 
 void ff_faandct(DCTELEM * data);
 void ff_faandct248(DCTELEM * data);
+
+#endif

Modified: trunk/libavcodec/golomb.h
==============================================================================
--- trunk/libavcodec/golomb.h	(original)
+++ trunk/libavcodec/golomb.h	Sun Jun 17 02:01:30 2007
@@ -28,6 +28,9 @@
  * @author Michael Niedermayer <michaelni at gmx.at> and Alex Beregszaszi
  */
 
+#ifndef AVCODEC_GOLOMB_H
+#define AVCODEC_GOLOMB_H
+
 #include <stdint.h>
 #include "bitstream.h"
 
@@ -480,3 +483,5 @@ static inline void set_sr_golomb_flac(Pu
 
     set_ur_golomb_jpegls(pb, v, k, limit, esc_len);
 }
+
+#endif

Modified: trunk/libavcodec/h261.h
==============================================================================
--- trunk/libavcodec/h261.h	(original)
+++ trunk/libavcodec/h261.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * h261codec.
  */
 
+#ifndef AVCODEC_H261_H
+#define AVCODEC_H261_H
+
 #include "mpegvideo.h"
 
 /**
@@ -44,3 +47,5 @@ typedef struct H261Context{
 }H261Context;
 
 #define MB_TYPE_H261_FIL 0x800000
+
+#endif

Modified: trunk/libavcodec/h261data.h
==============================================================================
--- trunk/libavcodec/h261data.h	(original)
+++ trunk/libavcodec/h261data.h	Sun Jun 17 02:01:30 2007
@@ -24,6 +24,9 @@
  * H.261 tables.
  */
 
+#ifndef AVCODEC_H261DATA_H
+#define AVCODEC_H261DATA_H
+
 #include <stdint.h>
 #include "h261.h"
 
@@ -157,3 +160,5 @@ static RLTable h261_rl_tcoeff = {
     h261_tcoeff_run,
     h261_tcoeff_level,
 };
+
+#endif

Modified: trunk/libavcodec/h263_parser.h
==============================================================================
--- trunk/libavcodec/h263_parser.h	(original)
+++ trunk/libavcodec/h263_parser.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,11 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_H263_PARSER_H
+#define AVCODEC_H263_PARSER_H
+
 #include "parser.h"
 
 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
+
+#endif

Modified: trunk/libavcodec/h263data.h
==============================================================================
--- trunk/libavcodec/h263data.h	(original)
+++ trunk/libavcodec/h263data.h	Sun Jun 17 02:01:30 2007
@@ -26,6 +26,9 @@
  * H.263 tables.
  */
 
+#ifndef AVCODEC_H263DATA_H
+#define AVCODEC_H263DATA_H
+
 #include <stdint.h>
 #include "mpegvideo.h"
 
@@ -308,3 +311,4 @@ const uint8_t ff_h263_loop_filter_streng
     0, 1, 1, 2, 2, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 8, 8, 8, 9, 9, 9,10,10,10,11,11,11,12,12,12
 };
 
+#endif

Modified: trunk/libavcodec/h264data.h
==============================================================================
--- trunk/libavcodec/h264data.h	(original)
+++ trunk/libavcodec/h264data.h	Sun Jun 17 02:01:30 2007
@@ -27,6 +27,9 @@
  * @author Michael Niedermayer <michaelni at gmx.at>
  */
 
+#ifndef AVCODEC_H264DATA_H
+#define AVCODEC_H264DATA_H
+
 #include <stdint.h>
 #include "mpegvideo.h"
 #include "rational.h"
@@ -1325,3 +1328,5 @@ static const int cabac_context_init_PB[3
         {  31,  12 }, {  37,  23 }, {  31,  38 }, {  20,  64 },
     }
 };
+
+#endif

Modified: trunk/libavcodec/i386/mathops.h
==============================================================================
--- trunk/libavcodec/i386/mathops.h	(original)
+++ trunk/libavcodec/i386/mathops.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_X86_MATHOPS_H
+#define AVCODEC_X86_MATHOPS_H
+
 #ifdef FRAC_BITS
 #   define MULL(ra, rb) \
         ({ int rt, dummy; asm (\
@@ -39,3 +42,4 @@
      asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
      rt; })
 
+#endif

Modified: trunk/libavcodec/imcdata.h
==============================================================================
--- trunk/libavcodec/imcdata.h	(original)
+++ trunk/libavcodec/imcdata.h	Sun Jun 17 02:01:30 2007
@@ -22,6 +22,9 @@
  *
  */
 
+#ifndef AVCODEC_IMCDATA_H
+#define AVCODEC_IMCDATA_H
+
 #include <stdint.h>
 
 static const uint16_t band_tab[33] = {
@@ -164,3 +167,4 @@ static const uint16_t imc_huffman_bits[4
     }
 };
 
+#endif

Modified: trunk/libavcodec/indeo2data.h
==============================================================================
--- trunk/libavcodec/indeo2data.h	(original)
+++ trunk/libavcodec/indeo2data.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_INDEO2DATA_H
+#define AVCODEC_INDEO2DATA_H
+
 #include <stdint.h>
 
 #define IR2_CODES 143
@@ -134,3 +137,5 @@ static const uint8_t ir2_luma_table[256]
  0x28, 0x5C, 0x6C, 0xC1, 0x94, 0x3F, 0xC1, 0x6C,
  0x3F, 0x94, 0xD9, 0xD9, 0x27, 0x27, 0x80, 0x80
 };
+
+#endif

Modified: trunk/libavcodec/indeo3data.h
==============================================================================
--- trunk/libavcodec/indeo3data.h	(original)
+++ trunk/libavcodec/indeo3data.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_INDEO3DATA_H
+#define AVCODEC_INDEO3DATA_H
+
 #include <stdint.h>
 
 static const uint32_t correction[] = {
@@ -2335,3 +2338,5 @@ static const uint32_t correctionhighorde
         0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2, 0xd1d1d1d2,
         0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
 };
+
+#endif

Modified: trunk/libavcodec/mpcdata.h
==============================================================================
--- trunk/libavcodec/mpcdata.h	(original)
+++ trunk/libavcodec/mpcdata.h	Sun Jun 17 02:01:30 2007
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef AVCODEC_MPCDATA_H
+#define AVCODEC_MPCDATA_H
+
 #include <stdint.h>
 
 static const int8_t mpc_idx30[] = { -1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1,-1, 0, 1};
@@ -206,3 +209,5 @@ static const float mpc7_SCF[128] = {
     0.000000092001613439, 0.000000076635565449, 0.000000063835940978, 0.000000053174105119,
     0.000000044293003043, 0.000000036895215771, 0.000000030733001921, 0.000000025599996789
 };
+
+#endif

Modified: trunk/libavcodec/mpeg12data.h
==============================================================================
--- trunk/libavcodec/mpeg12data.h	(original)
+++ trunk/libavcodec/mpeg12data.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * MPEG1/2 tables.
  */
 
+#ifndef AVCODEC_MPEG12DATA_H
+#define AVCODEC_MPEG12DATA_H
+
 #include <stdint.h>
 #include "mpegvideo.h"
 
@@ -475,3 +478,5 @@ static const uint8_t svcd_scan_offset_pl
     0xff, 0xff, 0xff,
     0xff, 0xff, 0xff,
 };
+
+#endif

Modified: trunk/libavcodec/mpeg4data.h
==============================================================================
--- trunk/libavcodec/mpeg4data.h	(original)
+++ trunk/libavcodec/mpeg4data.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * mpeg4 tables.
  */
 
+#ifndef AVCODEC_MPEG4DATA_H
+#define AVCODEC_MPEG4DATA_H
+
 #include <stdint.h>
 #include "mpegvideo.h"
 
@@ -425,3 +428,5 @@ const uint16_t ff_mpeg4_resync_prefix[8]
 static const uint8_t mpeg4_dc_threshold[8]={
     99, 13, 15, 17, 19, 21, 23, 0
 };
+
+#endif

Modified: trunk/libavcodec/mpegaudiodectab.h
==============================================================================
--- trunk/libavcodec/mpegaudiodectab.h	(original)
+++ trunk/libavcodec/mpegaudiodectab.h	Sun Jun 17 02:01:30 2007
@@ -24,6 +24,9 @@
  * mpeg audio layer decoder tables.
  */
 
+#ifndef AVCODEC_MPEGAUDIODECTAB_H
+#define AVCODEC_MPEGAUDIODECTAB_H
+
 #include <stdint.h>
 #include "mpegaudio.h"
 
@@ -599,3 +602,5 @@ static const uint8_t mpa_pretab[2][22] =
 static const float ci_table[8] = {
     -0.6, -0.535, -0.33, -0.185, -0.095, -0.041, -0.0142, -0.0037,
 };
+
+#endif

Modified: trunk/libavcodec/mpegaudiotab.h
==============================================================================
--- trunk/libavcodec/mpegaudiotab.h	(original)
+++ trunk/libavcodec/mpegaudiotab.h	Sun Jun 17 02:01:30 2007
@@ -27,6 +27,9 @@
  * Most of them come from the mpeg audio specification.
  */
 
+#ifndef AVCODEC_MPEGAUDIOTAB_H
+#define AVCODEC_MPEGAUDIOTAB_H
+
 #include <stdint.h>
 #include "mpegaudio.h"
 
@@ -112,3 +115,4 @@ static const float fixed_smr[SBLIMIT] = 
 
 static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
 
+#endif

Modified: trunk/libavcodec/msmpeg4tab.h
==============================================================================
--- trunk/libavcodec/msmpeg4tab.h	(original)
+++ trunk/libavcodec/msmpeg4tab.h	Sun Jun 17 02:01:30 2007
@@ -27,6 +27,9 @@
  * MSMPEG4 data tables.
  */
 
+#ifndef AVCODEC_MSMPEG4TAB_H
+#define AVCODEC_MSMPEG4TAB_H
+
 #include <stdint.h>
 #include "bitstream.h"
 #include "rl.h"
@@ -2016,3 +2019,5 @@ static const uint8_t wmv2_scantableB[64]
 0x38, 0x29, 0x22, 0x03, 0x31, 0x39, 0x0B, 0x2A,
 0x13, 0x32, 0x1B, 0x3A, 0x23, 0x2B, 0x33, 0x3B,
 };
+
+#endif

Modified: trunk/libavcodec/ppc/mathops.h
==============================================================================
--- trunk/libavcodec/ppc/mathops.h	(original)
+++ trunk/libavcodec/ppc/mathops.h	Sun Jun 17 02:01:30 2007
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_PPC_MATHOPS_H
+#define AVCODEC_PPC_MATHOPS_H
+
 #if defined(ARCH_POWERPC_405)
 /* signed 16x16 -> 32 multiply add accumulate */
 #   define MAC16(rt, ra, rb) \
@@ -31,3 +34,5 @@
          asm ("mullhw %0, %1, %2" : "=r" (__rt) : "r" (ra), "r" (rb));
          __rt; })
 #endif
+
+#endif

Modified: trunk/libavcodec/ppc/types_altivec.h
==============================================================================
--- trunk/libavcodec/ppc/types_altivec.h	(original)
+++ trunk/libavcodec/ppc/types_altivec.h	Sun Jun 17 02:01:30 2007
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_TYPES_ALTIVEC_H
+#define AVCODEC_TYPES_ALTIVEC_H
+
 /***********************************************************************
  * Vector types
  **********************************************************************/
@@ -39,3 +42,5 @@
 #define zero_s16v (vec_s16_t) zerov
 #define zero_u32v (vec_u32_t) zerov
 #define zero_s32v (vec_s32_t) zerov
+
+#endif

Modified: trunk/libavcodec/rangecoder.h
==============================================================================
--- trunk/libavcodec/rangecoder.h	(original)
+++ trunk/libavcodec/rangecoder.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * Range coder.
  */
 
+#ifndef AVCODEC_RANGECODER_H
+#define AVCODEC_RANGECODER_H
+
 #include <stdint.h>
 #include <assert.h>
 #include "common.h"
@@ -136,3 +139,4 @@ static inline int get_rac(RangeCoder *c,
 #endif
 }
 
+#endif

Modified: trunk/libavcodec/roqvideo.h
==============================================================================
--- trunk/libavcodec/roqvideo.h	(original)
+++ trunk/libavcodec/roqvideo.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  *
  */
 
+#ifndef AVCODEC_ROQVIDEO_H
+#define AVCODEC_ROQVIDEO_H
+
 #include "avcodec.h"
 #include "dsputil.h"
 
@@ -66,3 +69,5 @@ void ff_apply_vector_4x4(RoqContext *ri,
 void ff_apply_motion_4x4(RoqContext *ri, int x, int y, int deltax, int deltay);
 
 void ff_apply_motion_8x8(RoqContext *ri, int x, int y, int deltax, int deltay);
+
+#endif

Modified: trunk/libavcodec/simple_idct.h
==============================================================================
--- trunk/libavcodec/simple_idct.h	(original)
+++ trunk/libavcodec/simple_idct.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * simple idct header.
  */
 
+#ifndef AVCODEC_SIMPLE_IDCT_H
+#define AVCODEC_SIMPLE_IDCT_H
+
 #include <stdint.h>
 #include "dsputil.h"
 
@@ -39,3 +42,5 @@ void simple_idct248_put(uint8_t *dest, i
 
 void simple_idct84_add(uint8_t *dest, int line_size, DCTELEM *block);
 void simple_idct48_add(uint8_t *dest, int line_size, DCTELEM *block);
+
+#endif

Modified: trunk/libavcodec/sparc/vis.h
==============================================================================
--- trunk/libavcodec/sparc/vis.h	(original)
+++ trunk/libavcodec/sparc/vis.h	Sun Jun 17 02:01:30 2007
@@ -40,6 +40,9 @@
  * the assembler to keep the binary from becoming tainted.
  */
 
+#ifndef AVCODEC_VIS_H
+#define AVCODEC_VIS_H
+
 #define vis_opc_base    ((0x1 << 31) | (0x36 << 19))
 #define vis_opf(X)      ((X) << 5)
 #define vis_sreg(X)     (X)
@@ -325,3 +328,5 @@ static inline void vis_alignaddrl_g0(voi
 /* Pixel component distance.  */
 
 #define vis_pdist(rs1,rs2,rd)           vis_dd2d(0x3e, rs1, rs2, rd)
+
+#endif

Modified: trunk/libavcodec/svq1_cb.h
==============================================================================
--- trunk/libavcodec/svq1_cb.h	(original)
+++ trunk/libavcodec/svq1_cb.h	Sun Jun 17 02:01:30 2007
@@ -29,6 +29,9 @@
  * svq1 code books.
  */
 
+#ifndef AVCODEC_SVQ1_CB_H
+#define AVCODEC_SVQ1_CB_H
+
 #include <stdint.h>
 #include <stdlib.h>
 
@@ -1581,3 +1584,5 @@ static const int8_t svq1_intra_codebook_
  -1,  5, -2, -2, -3,  2, -3, -1,  3, -3,  0,  4,  3,  0,  1, -2,
  }
 };
+
+#endif

Modified: trunk/libavcodec/ulti_cb.h
==============================================================================
--- trunk/libavcodec/ulti_cb.h	(original)
+++ trunk/libavcodec/ulti_cb.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_ULTI_CB_H
+#define AVCODEC_ULTI_CB_H
+
 static const unsigned char ulti_codebook[16384]={
     0x00, 0x01, 0x01, 0x02,
     0x00, 0x01, 0x02, 0x03,
@@ -4117,3 +4120,5 @@ static const unsigned char ulti_codebook
     0x3C, 0x3D, 0x3E, 0x3F,
     0x3D, 0x3E, 0x3E, 0x3F
 };
+
+#endif

Modified: trunk/libavcodec/vc1.h
==============================================================================
--- trunk/libavcodec/vc1.h	(original)
+++ trunk/libavcodec/vc1.h	Sun Jun 17 02:01:30 2007
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_VC1_H
+#define AVCODEC_VC1_H
+
 #include "avcodec.h"
 #include "mpegvideo.h"
 
@@ -300,3 +303,5 @@ typedef struct VC1Context{
     int p_frame_skipped;
     int bi_type;
 } VC1Context;
+
+#endif

Modified: trunk/libavcodec/vc1acdata.h
==============================================================================
--- trunk/libavcodec/vc1acdata.h	(original)
+++ trunk/libavcodec/vc1acdata.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_VC1ACDATA_H
+#define AVCODEC_VC1ACDATA_H
+
 #include <stdint.h>
 
 #define AC_MODES 8
@@ -585,3 +588,5 @@ static const uint8_t vc1_last_delta_run_
       -1,    30,    28,     3,     0
 }
 };
+
+#endif

Modified: trunk/libavcodec/vorbis_enc_data.h
==============================================================================
--- trunk/libavcodec/vorbis_enc_data.h	(original)
+++ trunk/libavcodec/vorbis_enc_data.h	Sun Jun 17 02:01:30 2007
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  */
 
+#ifndef AVCODEC_VORBIS_ENC_DATA_H
+#define AVCODEC_VORBIS_ENC_DATA_H
+
 #include <stdint.h>
 
 static const uint8_t codebook0[] = {
@@ -498,3 +501,5 @@ static const struct {
     { 4, 2, 2, (const int[]){ -1,  9, 10, 11 } },
     { 3, 2, 3, (const int[]){ -1, 12, 13, 14 } },
 };
+
+#endif

Modified: trunk/libavcodec/wmadata.h
==============================================================================
--- trunk/libavcodec/wmadata.h	(original)
+++ trunk/libavcodec/wmadata.h	Sun Jun 17 02:01:30 2007
@@ -24,6 +24,9 @@
  * Various WMA tables.
  */
 
+#ifndef AVCODEC_WMADATA_H
+#define AVCODEC_WMADATA_H
+
 #include <stdint.h>
 #include "wma.h"
 
@@ -1434,3 +1437,5 @@ static const CoefVLCTable coef_vlcs[6] =
         sizeof(coef5_huffbits), sizeof(levels5)/2, coef5_huffcodes, coef5_huffbits, levels5,
     },
 };
+
+#endif

Modified: trunk/libavcodec/xiph.h
==============================================================================
--- trunk/libavcodec/xiph.h	(original)
+++ trunk/libavcodec/xiph.h	Sun Jun 17 02:01:30 2007
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_XIPH_H
+#define AVCODEC_XIPH_H
+
 #include "common.h"
 
 /**
@@ -36,3 +39,5 @@
 int ff_split_xiph_headers(uint8_t *extradata, int extradata_size,
                           int first_header_size, uint8_t *header_start[3],
                           int header_len[3]);
+
+#endif

Modified: trunk/libavcodec/xvmc_render.h
==============================================================================
--- trunk/libavcodec/xvmc_render.h	(original)
+++ trunk/libavcodec/xvmc_render.h	Sun Jun 17 02:01:30 2007
@@ -1,3 +1,6 @@
+#ifndef AVCODEC_XVMC_RENDER_H
+#define AVCODEC_XVMC_RENDER_H
+
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
 #include <X11/Xatom.h>
@@ -48,3 +51,5 @@ typedef   struct{
   void * p_osd_target_surface_render;//pointer to the surface where subpicture is rendered
 
 } xvmc_render_state_t;
+
+#endif

Modified: trunk/libavformat/asf.h
==============================================================================
--- trunk/libavformat/asf.h	(original)
+++ trunk/libavformat/asf.h	Sun Jun 17 02:01:30 2007
@@ -18,6 +18,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFORMAT_ASF_H
+#define AVFORMAT_ASF_H
+
 #include <stdint.h>
 #include "avformat.h"
 
@@ -282,3 +285,5 @@ static const GUID my_guid = {
 #define ASF_PL_MASK_PAYLOAD_LENGTH_FIELD_SIZE     0xc0 //1100 0000
 
 #define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
+
+#endif

Modified: trunk/libavformat/dv.h
==============================================================================
--- trunk/libavformat/dv.h	(original)
+++ trunk/libavformat/dv.h	Sun Jun 17 02:01:30 2007
@@ -25,6 +25,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFORMAT_DV_H
+#define AVFORMAT_DV_H
+
 #include "avformat.h"
 
 typedef struct DVDemuxContext DVDemuxContext;
@@ -37,3 +40,5 @@ typedef struct DVMuxContext DVMuxContext
 DVMuxContext* dv_init_mux(AVFormatContext* s);
 int dv_assemble_frame(DVMuxContext *c, AVStream*, const uint8_t*, int, uint8_t**);
 void dv_delete_mux(DVMuxContext*);
+
+#endif

Modified: trunk/libavformat/mpegts.h
==============================================================================
--- trunk/libavformat/mpegts.h	(original)
+++ trunk/libavformat/mpegts.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFORMAT_MPEGTS_H
+#define AVFORMAT_MPEGTS_H
+
 #include "avformat.h"
 
 #define TS_FEC_PACKET_SIZE 204
@@ -63,3 +66,5 @@ MpegTSContext *mpegts_parse_open(AVForma
 int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
                         const uint8_t *buf, int len);
 void mpegts_parse_close(MpegTSContext *ts);
+
+#endif

Modified: trunk/libavformat/nut.h
==============================================================================
--- trunk/libavformat/nut.h	(original)
+++ trunk/libavformat/nut.h	Sun Jun 17 02:01:30 2007
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef AVFORMAT_NUT_H
+#define AVFORMAT_NUT_H
+
 //#include <limits.h>
 #include "avformat.h"
 #include "crc.h"
@@ -95,3 +98,5 @@ typedef struct {
 static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t *buf, unsigned int len){
     return av_crc(av_crc04C11DB7, checksum, buf, len);
 }
+
+#endif

Modified: trunk/libavformat/rtspcodes.h
==============================================================================
--- trunk/libavformat/rtspcodes.h	(original)
+++ trunk/libavformat/rtspcodes.h	Sun Jun 17 02:01:30 2007
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFORMAT_RTSPCODES_H
+#define AVFORMAT_RTSPCODES_H
+
 /** RTSP handling */
 enum RTSPStatusCode {
 RTSP_STATUS_OK              =200, /**< OK */
@@ -34,3 +37,4 @@ RTSP_STATUS_SERVICE         =503, /**< S
 RTSP_STATUS_VERSION         =505, /**< RTSP Version not supported */
 };
 
+#endif

Modified: trunk/libavutil/base64.h
==============================================================================
--- trunk/libavutil/base64.h	(original)
+++ trunk/libavutil/base64.h	Sun Jun 17 02:01:30 2007
@@ -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, cons
  */
 char *av_base64_encode(char * buf, int buf_len, uint8_t * src, int len);
 
+#endif

Modified: trunk/libavutil/softfloat.h
==============================================================================
--- trunk/libavutil/softfloat.h	(original)
+++ trunk/libavutil/softfloat.h	Sun Jun 17 02:01:30 2007
@@ -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,
     if(v.exp >= 0) return v.mant <<  v.exp ;
     else           return v.mant >>(-v.exp);
 }
+
+#endif

Modified: trunk/libpostproc/postprocess_internal.h
==============================================================================
--- trunk/libpostproc/postprocess_internal.h	(original)
+++ trunk/libpostproc/postprocess_internal.h	Sun Jun 17 02:01:30 2007
@@ -23,6 +23,9 @@
  * internal api header.
  */
 
+#ifndef POSTPROCESS_INTERNAL_H
+#define POSTPROCESS_INTERNAL_H
+
 #include "avutil.h"
 
 #define V_DEBLOCK       0x01
@@ -181,3 +184,5 @@ static inline void linecpy(void *dest, v
                 memcpy(dest+(lines-1)*stride, src+(lines-1)*stride, -lines*stride);
         }
 }
+
+#endif




More information about the ffmpeg-cvslog mailing list