From efb775777f815f3140f79f58d3f756a3a4831235 Mon Sep 17 00:00:00 2001
From: Guillaume Poirier <gpoirier@mplayerhq.hu>
Date: Sun, 17 Jun 2007 18:59:28 +0000
Subject: [PATCH] add a comment to indicate which #endif belong to which
 #define

Originally committed as revision 9356 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/armv4l/mathops.h        | 2 +-
 libavcodec/atrac3data.h            | 2 +-
 libavcodec/bethsoftvideo.h         | 2 +-
 libavcodec/bmp.h                   | 2 +-
 libavcodec/cavsdata.h              | 2 +-
 libavcodec/cookdata.h              | 2 +-
 libavcodec/dca.h                   | 2 +-
 libavcodec/dcadata.h               | 2 +-
 libavcodec/dcahuff.h               | 2 +-
 libavcodec/dnxhddata.h             | 2 +-
 libavcodec/dvdata.h                | 2 +-
 libavcodec/elbg.h                  | 2 +-
 libavcodec/faandct.h               | 2 +-
 libavcodec/golomb.h                | 2 +-
 libavcodec/h261.h                  | 2 +-
 libavcodec/h261data.h              | 2 +-
 libavcodec/h263_parser.h           | 2 +-
 libavcodec/h263data.h              | 2 +-
 libavcodec/h264data.h              | 2 +-
 libavcodec/i386/mathops.h          | 2 +-
 libavcodec/imcdata.h               | 2 +-
 libavcodec/indeo2data.h            | 2 +-
 libavcodec/indeo3data.h            | 2 +-
 libavcodec/mpcdata.h               | 2 +-
 libavcodec/mpeg12data.h            | 2 +-
 libavcodec/mpeg4data.h             | 2 +-
 libavcodec/mpegaudiodectab.h       | 2 +-
 libavcodec/mpegaudiotab.h          | 2 +-
 libavcodec/msmpeg4tab.h            | 2 +-
 libavcodec/ppc/mathops.h           | 2 +-
 libavcodec/ppc/types_altivec.h     | 2 +-
 libavcodec/rangecoder.h            | 2 +-
 libavcodec/roqvideo.h              | 2 +-
 libavcodec/simple_idct.h           | 2 +-
 libavcodec/sparc/vis.h             | 2 +-
 libavcodec/svq1_cb.h               | 2 +-
 libavcodec/ulti_cb.h               | 2 +-
 libavcodec/vc1.h                   | 2 +-
 libavcodec/vc1acdata.h             | 2 +-
 libavcodec/vorbis_enc_data.h       | 2 +-
 libavcodec/wmadata.h               | 2 +-
 libavcodec/xiph.h                  | 2 +-
 libavcodec/xvmc_render.h           | 2 +-
 libavformat/asf.h                  | 2 +-
 libavformat/dv.h                   | 2 +-
 libavformat/mpegts.h               | 2 +-
 libavformat/nut.h                  | 2 +-
 libavformat/rtspcodes.h            | 2 +-
 libavutil/base64.h                 | 2 +-
 libavutil/softfloat.h              | 2 +-
 libpostproc/postprocess_internal.h | 2 +-
 51 files changed, 51 insertions(+), 51 deletions(-)

diff --git a/libavcodec/armv4l/mathops.h b/libavcodec/armv4l/mathops.h
index 6d5402a568a..fe2afdafab1 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 5229f2f6151..ebff3323e7c 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 038e9c5e4d2..c1f09550d7f 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 702ad0b8937..a92108f94d8 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 c9d41465ecb..21cc45823c8 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 1c22e8a1c00..5d18010a0a2 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 f4da56a8e6b..8955cb18874 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 6686277ec3f..e6e38b10aea 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 159520874ba..c162705eaea 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 a17cbfd7470..eea66fc7512 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 f493da1be7b..19a9501db5c 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 08dac0b16f9..48e1ee1ada1 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 0fbbb58c14c..b859bd21596 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 5c34c30929d..be2d34b75b9 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 7f86bc43836..5f996dee63a 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 1831c894acb..35734ed3349 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 da25d4b75b1..db6c8a4c775 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 ebe4e56d2ea..69f7670ccea 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 6a15aa239fe..ea0f23ac268 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 9cd616879f9..3d8c002d975 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 5e22123e6c1..29c6b81a1b4 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 bfc6e8a9594..84c19c1dcff 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 e071da4ae63..eee688a5f4c 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 ef49c39f4c2..61dfa0d3833 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 bd5c9ed9bf3..72ef559792f 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 eb8c625649d..966dcb0df14 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 4057f52d316..f3b43de2c5c 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 7bce7280b4b..63e93dd3c7e 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 b9bfcec4408..6a1c3c38cd3 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 e339231a4d1..92483fb6f21 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 ca15609a2f3..d8430097a6a 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 4f8bbf58808..298928ad439 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 8ce9297b226..41c4ed17953 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 7bc245504f8..43f4ad2fe11 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 16c1b447514..22c292672fd 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 735bfade52d..a0e74952d99 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 ffaa9a1e5ea..43e4e125eca 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 f8982659050..c57dfff56a6 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 3a2713b3478..48d350cd900 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 82ca514df0f..dcdaa58b01d 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 5d092a9eb3e..8775bcded82 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 99d43f59de9..910ff37a101 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 0b61c157ff3..a533e868211 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 6df02c24f15..8387aa50f9a 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 e7ad3d53b5e..0e33a2f21ae 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 178988a994a..b2a3299aafe 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 b18ac2dc0d7..d8686524b2a 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 8e3b326059b..9e4d87bae67 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 ff755a4cdfb..1ee7014152c 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 acf29b2ac53..b6e54857450 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 9ec2f3500d0..a4e31d3d6bd 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
-- 
GitLab