[SCM] libav/experimental: add a comment to indicate which #endif belong to which #define

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:02:14 UTC 2013


The following commit has been merged in the experimental branch:
commit efb775777f815f3140f79f58d3f756a3a4831235
Author: Guillaume Poirier <gpoirier at mplayerhq.hu>
Date:   Sun Jun 17 18:59:28 2007 +0000

    add a comment to indicate which #endif belong to which #define
    
    Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/armv4l/mathops.h b/libavcodec/armv4l/mathops.h
index 6d5402a..fe2afda 100644
--- a/libavcodec/armv4l/mathops.h
+++ b/libavcodec/armv4l/mathops.h
@@ -51,4 +51,4 @@
 
 #endif
 
-#endif
+#endif // AVCODEC_ARM_MATHOPS_H
diff --git a/libavcodec/atrac3data.h b/libavcodec/atrac3data.h
index 5229f2f..ebff332 100644
--- a/libavcodec/atrac3data.h
+++ b/libavcodec/atrac3data.h
@@ -137,4 +137,4 @@ 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
+#endif // AVCODEC_ATRAC3DATA_H
diff --git a/libavcodec/bethsoftvideo.h b/libavcodec/bethsoftvideo.h
index 038e9c5..c1f0955 100644
--- a/libavcodec/bethsoftvideo.h
+++ b/libavcodec/bethsoftvideo.h
@@ -12,4 +12,4 @@ enum BethsoftVidBlockType
     EOF_BLOCK           = 0x14,
 };
 
-#endif
+#endif // AVCODEC_BETHSOFTVIDEO_H
diff --git a/libavcodec/bmp.h b/libavcodec/bmp.h
index 702ad0b..a92108f 100644
--- a/libavcodec/bmp.h
+++ b/libavcodec/bmp.h
@@ -35,4 +35,4 @@ typedef enum {
     BMP_BITFIELDS   =3,
 } BiCompression;
 
-#endif
+#endif // AVCODEC_BMP_H
diff --git a/libavcodec/cavsdata.h b/libavcodec/cavsdata.h
index c9d4146..21cc458 100644
--- a/libavcodec/cavsdata.h
+++ b/libavcodec/cavsdata.h
@@ -518,4 +518,4 @@ 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
+#endif // AVCODEC_CAVSDATA_H
diff --git a/libavcodec/cookdata.h b/libavcodec/cookdata.h
index 1c22e8a..5d18010 100644
--- a/libavcodec/cookdata.h
+++ b/libavcodec/cookdata.h
@@ -563,4 +563,4 @@ static const float* cplscales[5] = {
     cplscale2, cplscale3, cplscale4, cplscale5, cplscale6,
 };
 
-#endif
+#endif // AVCODEC_COOKDATA_H
diff --git a/libavcodec/dca.h b/libavcodec/dca.h
index f4da56a..8955cb1 100644
--- a/libavcodec/dca.h
+++ b/libavcodec/dca.h
@@ -31,4 +31,4 @@
 #define DCA_MARKER_14B_BE 0x1FFFE800
 #define DCA_MARKER_14B_LE 0xFF1F00E8
 
-#endif
+#endif // AVCODEC_DCA_H
diff --git a/libavcodec/dcadata.h b/libavcodec/dcadata.h
index 6686277..e6e38b1 100644
--- a/libavcodec/dcadata.h
+++ b/libavcodec/dcadata.h
@@ -8471,4 +8471,4 @@ where Ch(n) represents the subband samples in the (n)th audio channel.
 
 */
 
-#endif
+#endif // AVCODEC_DCADATA_H
diff --git a/libavcodec/dcahuff.h b/libavcodec/dcahuff.h
index 1595208..c162705 100644
--- a/libavcodec/dcahuff.h
+++ b/libavcodec/dcahuff.h
@@ -1073,4 +1073,4 @@ static const uint8_t* bitalloc_bits[10][8] = {
     bitalloc_129_bits_e, bitalloc_129_bits_f, bitalloc_129_bits_g, NULL }
 };
 
-#endif
+#endif // AVCODEC_DCAHUFF_H
diff --git a/libavcodec/dnxhddata.h b/libavcodec/dnxhddata.h
index a17cbfd..eea66fc 100644
--- a/libavcodec/dnxhddata.h
+++ b/libavcodec/dnxhddata.h
@@ -110,4 +110,4 @@ 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
+#endif  // AVCODEC_DNXHDDATA_H
diff --git a/libavcodec/dvdata.h b/libavcodec/dvdata.h
index f493da1..19a9501 100644
--- a/libavcodec/dvdata.h
+++ b/libavcodec/dvdata.h
@@ -2729,4 +2729,4 @@ static inline int dv_write_ssyb_id(uint8_t syb_num, uint8_t fr, uint8_t* buf)
     return 3;
 }
 
-#endif
+#endif // AVCODEC_DVDATA_H
diff --git a/libavcodec/elbg.h b/libavcodec/elbg.h
index 08dac0b..48e1ee1 100644
--- a/libavcodec/elbg.h
+++ b/libavcodec/elbg.h
@@ -52,4 +52,4 @@ void ff_init_elbg(int *points, int dim, int numpoints, int *codebook,
                   int numCB, int num_steps, int *closest_cb,
                   AVRandomState *rand_state);
 
-#endif
+#endif // AVCODEC_ELBG_H
diff --git a/libavcodec/faandct.h b/libavcodec/faandct.h
index 0fbbb58..b859bd2 100644
--- a/libavcodec/faandct.h
+++ b/libavcodec/faandct.h
@@ -37,4 +37,4 @@
 void ff_faandct(DCTELEM * data);
 void ff_faandct248(DCTELEM * data);
 
-#endif
+#endif // AVCODEC_FAANDCT_H
diff --git a/libavcodec/golomb.h b/libavcodec/golomb.h
index 5c34c30..be2d34b 100644
--- a/libavcodec/golomb.h
+++ b/libavcodec/golomb.h
@@ -484,4 +484,4 @@ static inline void set_sr_golomb_flac(PutBitContext *pb, int i, int k, int limit
     set_ur_golomb_jpegls(pb, v, k, limit, esc_len);
 }
 
-#endif
+#endif // AVCODEC_GOLOMB_H
diff --git a/libavcodec/h261.h b/libavcodec/h261.h
index 7f86bc4..5f996de 100644
--- a/libavcodec/h261.h
+++ b/libavcodec/h261.h
@@ -48,4 +48,4 @@ typedef struct H261Context{
 
 #define MB_TYPE_H261_FIL 0x800000
 
-#endif
+#endif AVCODEC_H261_H
diff --git a/libavcodec/h261data.h b/libavcodec/h261data.h
index 1831c89..35734ed 100644
--- a/libavcodec/h261data.h
+++ b/libavcodec/h261data.h
@@ -161,4 +161,4 @@ static RLTable h261_rl_tcoeff = {
     h261_tcoeff_level,
 };
 
-#endif
+#endif // AVCODEC_H261DATA_H
diff --git a/libavcodec/h263_parser.h b/libavcodec/h263_parser.h
index da25d4b..db6c8a4 100644
--- a/libavcodec/h263_parser.h
+++ b/libavcodec/h263_parser.h
@@ -26,4 +26,4 @@
 
 int ff_h263_find_frame_end(ParseContext *pc, const uint8_t *buf, int buf_size);
 
-#endif
+#endif // AVCODEC_H263_PARSER_H
diff --git a/libavcodec/h263data.h b/libavcodec/h263data.h
index ebe4e56..69f7670 100644
--- a/libavcodec/h263data.h
+++ b/libavcodec/h263data.h
@@ -311,4 +311,4 @@ const uint8_t ff_h263_loop_filter_strength[32]={
     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
+#endif // AVCODEC_H263DATA_H
diff --git a/libavcodec/h264data.h b/libavcodec/h264data.h
index 6a15aa2..ea0f23a 100644
--- a/libavcodec/h264data.h
+++ b/libavcodec/h264data.h
@@ -1329,4 +1329,4 @@ static const int cabac_context_init_PB[3][460][2] =
     }
 };
 
-#endif
+#endif // AVCODEC_H264DATA_H
diff --git a/libavcodec/i386/mathops.h b/libavcodec/i386/mathops.h
index 9cd6168..3d8c002 100644
--- a/libavcodec/i386/mathops.h
+++ b/libavcodec/i386/mathops.h
@@ -42,4 +42,4 @@
      asm ("imull %2\n\t" : "=A"(rt) : "a" (ra), "g" (rb));\
      rt; })
 
-#endif
+#endif // AVCODEC_X86_MATHOPS_H
diff --git a/libavcodec/imcdata.h b/libavcodec/imcdata.h
index 5e22123..29c6b81 100644
--- a/libavcodec/imcdata.h
+++ b/libavcodec/imcdata.h
@@ -167,4 +167,4 @@ static const uint16_t imc_huffman_bits[4][4][18] = {
     }
 };
 
-#endif
+#endif // AVCODEC_IMCDATA_H
diff --git a/libavcodec/indeo2data.h b/libavcodec/indeo2data.h
index bfc6e8a..84c19c1 100644
--- a/libavcodec/indeo2data.h
+++ b/libavcodec/indeo2data.h
@@ -138,4 +138,4 @@ static const uint8_t ir2_luma_table[256] = {
  0x3F, 0x94, 0xD9, 0xD9, 0x27, 0x27, 0x80, 0x80
 };
 
-#endif
+#endif // AVCODEC_INDEO2DATA_H
diff --git a/libavcodec/indeo3data.h b/libavcodec/indeo3data.h
index e071da4..eee688a 100644
--- a/libavcodec/indeo3data.h
+++ b/libavcodec/indeo3data.h
@@ -2339,4 +2339,4 @@ static const uint32_t correctionhighorder[] = {
         0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000
 };
 
-#endif
+#endif // AVCODEC_INDEO3DATA_H
diff --git a/libavcodec/mpcdata.h b/libavcodec/mpcdata.h
index ef49c39..61dfa0d 100644
--- a/libavcodec/mpcdata.h
+++ b/libavcodec/mpcdata.h
@@ -210,4 +210,4 @@ static const float mpc7_SCF[128] = {
     0.000000044293003043, 0.000000036895215771, 0.000000030733001921, 0.000000025599996789
 };
 
-#endif
+#endif // AVCODEC_MPCDATA_H
diff --git a/libavcodec/mpeg12data.h b/libavcodec/mpeg12data.h
index bd5c9ed..72ef559 100644
--- a/libavcodec/mpeg12data.h
+++ b/libavcodec/mpeg12data.h
@@ -479,4 +479,4 @@ static const uint8_t svcd_scan_offset_placeholder[14]={
     0xff, 0xff, 0xff,
 };
 
-#endif
+#endif // AVCODEC_MPEG12DATA_H
diff --git a/libavcodec/mpeg4data.h b/libavcodec/mpeg4data.h
index eb8c625..966dcb0 100644
--- a/libavcodec/mpeg4data.h
+++ b/libavcodec/mpeg4data.h
@@ -429,4 +429,4 @@ static const uint8_t mpeg4_dc_threshold[8]={
     99, 13, 15, 17, 19, 21, 23, 0
 };
 
-#endif
+#endif // AVCODEC_MPEG4DATA_H
diff --git a/libavcodec/mpegaudiodectab.h b/libavcodec/mpegaudiodectab.h
index 4057f52..f3b43de 100644
--- a/libavcodec/mpegaudiodectab.h
+++ b/libavcodec/mpegaudiodectab.h
@@ -603,4 +603,4 @@ static const float ci_table[8] = {
     -0.6, -0.535, -0.33, -0.185, -0.095, -0.041, -0.0142, -0.0037,
 };
 
-#endif
+#endif // AVCODEC_MPEGAUDIODECTAB_H
diff --git a/libavcodec/mpegaudiotab.h b/libavcodec/mpegaudiotab.h
index 7bce728..63e93dd 100644
--- a/libavcodec/mpegaudiotab.h
+++ b/libavcodec/mpegaudiotab.h
@@ -115,4 +115,4 @@ static const float fixed_smr[SBLIMIT] =  {
 
 static const unsigned char nb_scale_factors[4] = { 3, 2, 1, 2 };
 
-#endif
+#endif // AVCODEC_MPEGAUDIOTAB_H
diff --git a/libavcodec/msmpeg4tab.h b/libavcodec/msmpeg4tab.h
index b9bfcec..6a1c3c3 100644
--- a/libavcodec/msmpeg4tab.h
+++ b/libavcodec/msmpeg4tab.h
@@ -2020,4 +2020,4 @@ static const uint8_t wmv2_scantableB[64]={
 0x13, 0x32, 0x1B, 0x3A, 0x23, 0x2B, 0x33, 0x3B,
 };
 
-#endif
+#endif // AVCODEC_MSMPEG4TAB_H
diff --git a/libavcodec/ppc/mathops.h b/libavcodec/ppc/mathops.h
index e339231..92483fb 100644
--- a/libavcodec/ppc/mathops.h
+++ b/libavcodec/ppc/mathops.h
@@ -35,4 +35,4 @@
          __rt; })
 #endif
 
-#endif
+#endif // AVCODEC_PPC_MATHOPS_H
diff --git a/libavcodec/ppc/types_altivec.h b/libavcodec/ppc/types_altivec.h
index ca15609..d843009 100644
--- a/libavcodec/ppc/types_altivec.h
+++ b/libavcodec/ppc/types_altivec.h
@@ -43,4 +43,4 @@
 #define zero_u32v (vec_u32_t) zerov
 #define zero_s32v (vec_s32_t) zerov
 
-#endif
+#endif // AVCODEC_TYPES_ALTIVEC_H
diff --git a/libavcodec/rangecoder.h b/libavcodec/rangecoder.h
index 4f8bbf5..298928a 100644
--- a/libavcodec/rangecoder.h
+++ b/libavcodec/rangecoder.h
@@ -139,4 +139,4 @@ static inline int get_rac(RangeCoder *c, uint8_t * const state){
 #endif
 }
 
-#endif
+#endif // AVCODEC_RANGECODER_H
diff --git a/libavcodec/roqvideo.h b/libavcodec/roqvideo.h
index 8ce9297..41c4ed1 100644
--- a/libavcodec/roqvideo.h
+++ b/libavcodec/roqvideo.h
@@ -70,4 +70,4 @@ 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
+#endif // AVCODEC_ROQVIDEO_H
diff --git a/libavcodec/simple_idct.h b/libavcodec/simple_idct.h
index 7bc2455..43f4ad2 100644
--- a/libavcodec/simple_idct.h
+++ b/libavcodec/simple_idct.h
@@ -43,4 +43,4 @@ void simple_idct248_put(uint8_t *dest, int line_size, DCTELEM *block);
 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
+#endif // AVCODEC_SIMPLE_IDCT_H
diff --git a/libavcodec/sparc/vis.h b/libavcodec/sparc/vis.h
index 16c1b44..22c2926 100644
--- a/libavcodec/sparc/vis.h
+++ b/libavcodec/sparc/vis.h
@@ -329,4 +329,4 @@ static inline void vis_alignaddrl_g0(void *_ptr)
 
 #define vis_pdist(rs1,rs2,rd)           vis_dd2d(0x3e, rs1, rs2, rd)
 
-#endif
+#endif // AVCODEC_VIS_H
diff --git a/libavcodec/svq1_cb.h b/libavcodec/svq1_cb.h
index 735bfad..a0e7495 100644
--- a/libavcodec/svq1_cb.h
+++ b/libavcodec/svq1_cb.h
@@ -1585,4 +1585,4 @@ static const int8_t svq1_intra_codebook_sum[4][16*6] = {
  }
 };
 
-#endif
+#endif // AVCODEC_SVQ1_CB_H
diff --git a/libavcodec/ulti_cb.h b/libavcodec/ulti_cb.h
index ffaa9a1..43e4e12 100644
--- a/libavcodec/ulti_cb.h
+++ b/libavcodec/ulti_cb.h
@@ -4121,4 +4121,4 @@ static const unsigned char ulti_codebook[16384]={
     0x3D, 0x3E, 0x3E, 0x3F
 };
 
-#endif
+#endif // AVCODEC_ULTI_CB_H
diff --git a/libavcodec/vc1.h b/libavcodec/vc1.h
index f898265..c57dfff 100644
--- a/libavcodec/vc1.h
+++ b/libavcodec/vc1.h
@@ -304,4 +304,4 @@ typedef struct VC1Context{
     int bi_type;
 } VC1Context;
 
-#endif
+#endif // AVCODEC_VC1_H
diff --git a/libavcodec/vc1acdata.h b/libavcodec/vc1acdata.h
index 3a2713b..48d350c 100644
--- a/libavcodec/vc1acdata.h
+++ b/libavcodec/vc1acdata.h
@@ -589,4 +589,4 @@ static const uint8_t vc1_last_delta_run_table[AC_MODES][10] = {
 }
 };
 
-#endif
+#endif // AVCODEC_VC1ACDATA_H
diff --git a/libavcodec/vorbis_enc_data.h b/libavcodec/vorbis_enc_data.h
index 82ca514..dcdaa58 100644
--- a/libavcodec/vorbis_enc_data.h
+++ b/libavcodec/vorbis_enc_data.h
@@ -502,4 +502,4 @@ static const struct {
     { 3, 2, 3, (const int[]){ -1, 12, 13, 14 } },
 };
 
-#endif
+#endif // AVCODEC_VORBIS_ENC_DATA_H
diff --git a/libavcodec/wmadata.h b/libavcodec/wmadata.h
index 5d092a9..8775bcd 100644
--- a/libavcodec/wmadata.h
+++ b/libavcodec/wmadata.h
@@ -1438,4 +1438,4 @@ static const CoefVLCTable coef_vlcs[6] = {
     },
 };
 
-#endif
+#endif // AVCODEC_WMADATA_H
diff --git a/libavcodec/xiph.h b/libavcodec/xiph.h
index 99d43f5..910ff37 100644
--- a/libavcodec/xiph.h
+++ b/libavcodec/xiph.h
@@ -40,4 +40,4 @@ 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
+#endif // AVCODEC_XIPH_H
diff --git a/libavcodec/xvmc_render.h b/libavcodec/xvmc_render.h
index 0b61c15..a533e86 100644
--- a/libavcodec/xvmc_render.h
+++ b/libavcodec/xvmc_render.h
@@ -52,4 +52,4 @@ typedef   struct{
 
 } xvmc_render_state_t;
 
-#endif
+#endif // AVCODEC_XVMC_RENDER_H
diff --git a/libavformat/asf.h b/libavformat/asf.h
index 6df02c2..8387aa5 100644
--- a/libavformat/asf.h
+++ b/libavformat/asf.h
@@ -286,4 +286,4 @@ static const GUID my_guid = {
 
 #define ASF_PL_FLAG_KEY_FRAME 0x80 //1000 0000
 
-#endif
+#endif // AVFORMAT_ASF_H
diff --git a/libavformat/dv.h b/libavformat/dv.h
index e7ad3d5..0e33a2f 100644
--- a/libavformat/dv.h
+++ b/libavformat/dv.h
@@ -41,4 +41,4 @@ 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
+#endif // AVFORMAT_DV_H
diff --git a/libavformat/mpegts.h b/libavformat/mpegts.h
index 178988a..b2a3299 100644
--- a/libavformat/mpegts.h
+++ b/libavformat/mpegts.h
@@ -67,4 +67,4 @@ int mpegts_parse_packet(MpegTSContext *ts, AVPacket *pkt,
                         const uint8_t *buf, int len);
 void mpegts_parse_close(MpegTSContext *ts);
 
-#endif
+#endif AVFORMAT_MPEGTS_H
diff --git a/libavformat/nut.h b/libavformat/nut.h
index b18ac2d..d868652 100644
--- a/libavformat/nut.h
+++ b/libavformat/nut.h
@@ -99,4 +99,4 @@ static unsigned long av_crc04C11DB7_update(unsigned long checksum, const uint8_t
     return av_crc(av_crc04C11DB7, checksum, buf, len);
 }
 
-#endif
+#endif AVFORMAT_NUT_H
diff --git a/libavformat/rtspcodes.h b/libavformat/rtspcodes.h
index 8e3b326..9e4d87b 100644
--- a/libavformat/rtspcodes.h
+++ b/libavformat/rtspcodes.h
@@ -37,4 +37,4 @@ RTSP_STATUS_SERVICE         =503, /**< Service Unavailable */
 RTSP_STATUS_VERSION         =505, /**< RTSP Version not supported */
 };
 
-#endif
+#endif // AVFORMAT_RTSPCODES_H
diff --git a/libavutil/base64.h b/libavutil/base64.h
index ff755a4..1ee7014 100644
--- a/libavutil/base64.h
+++ b/libavutil/base64.h
@@ -37,4 +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
+#endif // AVUTIL_BASE64_H
diff --git a/libavutil/softfloat.h b/libavutil/softfloat.h
index acf29b2..b6e5485 100644
--- a/libavutil/softfloat.h
+++ b/libavutil/softfloat.h
@@ -126,4 +126,4 @@ static inline int av_sf2int(SoftFloat v, int frac_bits){
     else           return v.mant >>(-v.exp);
 }
 
-#endif
+#endif // AVUTIL_SOFTFLOAT_H
diff --git a/libpostproc/postprocess_internal.h b/libpostproc/postprocess_internal.h
index 9ec2f35..a4e31d3 100644
--- a/libpostproc/postprocess_internal.h
+++ b/libpostproc/postprocess_internal.h
@@ -185,4 +185,4 @@ static inline void linecpy(void *dest, void *src, int lines, int stride)
         }
 }
 
-#endif
+#endif // POSTPROCESS_INTERNAL_H

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list