multiple inclusion guard cleanup
authorDiego Biurrun <diego@biurrun.de>
Tue, 17 May 2011 14:58:04 +0000 (16:58 +0200)
committerDiego Biurrun <diego@biurrun.de>
Sat, 21 May 2011 11:48:10 +0000 (13:48 +0200)
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.

51 files changed:
cmdutils.h
ffserver.h
libavcodec/aac_tablegen.h
libavcodec/aac_tablegen_decl.h
libavcodec/amrwbdata.h
libavcodec/arm/asm-offsets.h
libavcodec/arm/dsputil_arm.h
libavcodec/arm/mpegvideo_arm.h
libavcodec/arm/vp56_arith.h
libavcodec/arm/vp8.h
libavcodec/cavsdsp.h
libavcodec/cbrt_tablegen.h
libavcodec/cga_data.h
libavcodec/dct.h
libavcodec/dctref.h
libavcodec/dv_tablegen.h
libavcodec/flv.h
libavcodec/gsmdec_data.h
libavcodec/h263.h
libavcodec/kbdwin.h
libavcodec/motionpixels_tablegen.h
libavcodec/mpeg4video.h
libavcodec/mpegaudio_tablegen.h
libavcodec/mpegaudiodsp.h
libavcodec/msgsmdec.h
libavcodec/nellymoser.h
libavcodec/opt.h
libavcodec/pcm_tablegen.h
libavcodec/qdm2_tablegen.h
libavcodec/rdft.h
libavcodec/sh4/dsputil_sh4.h
libavcodec/sinewin.h
libavcodec/sinewin_tablegen.h
libavcodec/sparc/dsputil_vis.h
libavcodec/targa.h
libavcodec/vp8.h
libavcodec/vp8data.h
libavcodec/x86/fft.h
libavcodec/xvmc_internal.h
libavfilter/avfilter.h
libavfilter/avfiltergraph.h
libavfilter/internal.h
libavfilter/vsrc_buffer.h
libavformat/avio_internal.h
libavformat/ffmeta.h
libavformat/mms.h
libavformat/spdif.h
libavformat/url.h
libavformat/version.h
libavutil/avassert.h
libavutil/cpu.h

index c99c8653fab5013bdd351eadde890dc83e593756..3bb1cd616ba00cb774310ce3a6dd91519007a3a4 100644 (file)
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef FFMPEG_CMDUTILS_H
-#define FFMPEG_CMDUTILS_H
+#ifndef LIBAV_CMDUTILS_H
+#define LIBAV_CMDUTILS_H
 
 #include <stdint.h>
 
@@ -295,4 +295,4 @@ extern AVFilter ffsink;
 int get_filtered_video_frame(AVFilterContext *sink, AVFrame *frame,
                              AVFilterBufferRef **picref, AVRational *pts_tb);
 
-#endif /* FFMPEG_CMDUTILS_H */
+#endif /* LIBAV_CMDUTILS_H */
index 868b83bca465a47fb4c13ac3369db94cceb45efb..43bc79c2c68214bd894bd97520fc4fb0947ad660 100644 (file)
  * License along with Libav; if not, write to the Free Software
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
-#ifndef FFMPEG_FFSERVER_H
-#define FFMPEG_FFSERVER_H
+
+#ifndef LIBAV_FFSERVER_H
+#define LIBAV_FFSERVER_H
 
 /* interface between ffserver and modules */
 
 void ffserver_module_init(void);
 
-#endif /* FFMPEG_FFSERVER_H */
+#endif /* LIBAV_FFSERVER_H */
index 98895694a80fc64fbc7cdf2e32f2f23c03afd20e..4486e1a9fc98c1a38eabecc726e8e346190d8138 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AAC_TABLEGEN_H
-#define AAC_TABLEGEN_H
+#ifndef AVCODEC_AAC_TABLEGEN_H
+#define AVCODEC_AAC_TABLEGEN_H
 
 #include "aac_tablegen_decl.h"
 
@@ -40,4 +40,4 @@ void ff_aac_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* AAC_TABLEGEN_H */
+#endif /* AVCODEC_AAC_TABLEGEN_H */
index ce4ecb5bf1664ae100fc116aaeffe80633fd6b07..496ca0c677416d6922db65ca58a346e827f566a7 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AAC_TABLEGEN_DECL_H
-#define AAC_TABLEGEN_DECL_H
+#ifndef AVCODEC_AAC_TABLEGEN_DECL_H
+#define AVCODEC_AAC_TABLEGEN_DECL_H
 
 #if CONFIG_HARDCODED_TABLES
 #define ff_aac_tableinit()
@@ -31,4 +31,4 @@ void ff_aac_tableinit(void);
 extern       float ff_aac_pow2sf_tab[428];
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* AAC_TABLEGEN_DECL_H */
+#endif /* AVCODEC_AAC_TABLEGEN_DECL_H */
index f4db99e208eba4798050f07aa2684f21dbd42557..5421c23afbf779ef4a99e1d731d3b667ece3339d 100644 (file)
@@ -1887,4 +1887,4 @@ static const uint16_t cf_sizes_wb[] = {
     40 /// SID/comfort noise frame
 };
 
-#endif
+#endif /* AVCODEC_AMRWBDATA_H */
index 43c16301c0be4578102a7c0807393781f10a9afe..110d33dbb5679758334d733dbdb05afda0d24a58 100644 (file)
@@ -36,4 +36,4 @@
 #define H263_AIC                 0xf0
 #define INTER_SCANTAB_RASTER_END 0x138
 
-#endif
+#endif /* AVCODEC_ARM_ASM_OFFSETS_H */
index 14d983611470ffdb85943e78099d1122d30f45f5..6d7e6a6d160454d98d9218273e661b2b0868728c 100644 (file)
@@ -30,4 +30,4 @@ void ff_dsputil_init_vfp(DSPContext* c, AVCodecContext *avctx);
 void ff_dsputil_init_neon(DSPContext *c, AVCodecContext *avctx);
 void ff_dsputil_init_iwmmxt(DSPContext* c, AVCodecContext *avctx);
 
-#endif
+#endif /* AVCODEC_ARM_DSPUTIL_H */
index 0812ca165712e3c45cd91fed34f8dc52bcaa8892..a36da6112b3d0067822967324ef0b92054ae10cc 100644 (file)
@@ -24,4 +24,4 @@
 void MPV_common_init_iwmmxt(MpegEncContext *s);
 void MPV_common_init_armv5te(MpegEncContext *s);
 
-#endif
+#endif /* AVCODEC_ARM_MPEGVIDEO_H */
index f5dbd1d4c70cbe09d165149bdfc2d86c1ac70e83..0591d614a9dd31682cf8370665bfc847d48f5fc1 100644 (file)
@@ -89,4 +89,4 @@ static inline int vp56_rac_get_prob_branchy_armv6(VP56RangeCoder *c, int pr)
 
 #endif
 
-#endif
+#endif /* AVCODEC_ARM_VP56_ARITH_H */
index 35cdd8b2bf2e81337c490c205c30a5e901d2b3a1..76a0397a8d254f0037ff6a0e532943abffef77e9 100644 (file)
@@ -26,4 +26,4 @@ int ff_decode_block_coeffs_armv6(VP56RangeCoder *rc, DCTELEM block[16],
                                  int i, uint8_t *token_prob, int16_t qmul[2]);
 #endif
 
-#endif
+#endif /* AVCODEC_ARM_VP8_H */
index de2f530d832e4b8e7f7badba35298f86c91acd07..b1133b726457499500e67e840b24f81bacd2c17e 100644 (file)
@@ -38,4 +38,4 @@ typedef struct CAVSDSPContext {
 void ff_cavsdsp_init(CAVSDSPContext* c, AVCodecContext *avctx);
 void ff_cavsdsp_init_mmx(CAVSDSPContext* c, AVCodecContext *avctx);
 
-#endif
+#endif /* AVCODEC_CAVSDSP_H */
index 977450c124c98bae90f8a50e5187d20e60066401..01963a3f9d4ab1fe9d4757d8eaa6d6d3775f6ebf 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef CBRT_TABLEGEN_H
-#define CBRT_TABLEGEN_H
+#ifndef AVCODEC_CBRT_TABLEGEN_H
+#define AVCODEC_CBRT_TABLEGEN_H
 
 #include <stdint.h>
 #include <math.h>
@@ -48,4 +48,4 @@ static void cbrt_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* CBRT_TABLEGEN_H */
+#endif /* AVCODEC_CBRT_TABLEGEN_H */
index 60f572f9b604aa8e7a9dc6052c6780dea9c17d90..2149cfd2f1ed0677ba1a092beccbb6e452691a09 100644 (file)
@@ -45,4 +45,4 @@ extern const uint32_t ff_ega_palette[64];
  */
 void ff_draw_pc_font(uint8_t *dst, int linesize, const uint8_t *font, int font_height, int ch, int fg, int bg);
 
-#endif
+#endif /* AVCODEC_CGA_DATA_H */
index faddaa3d7bf58eb480d44e618f125f53bbf04246..c8988562793a524388e3525a4df41417898d1b8f 100644 (file)
@@ -49,4 +49,4 @@ void ff_dct_end (DCTContext *s);
 
 void ff_dct_init_mmx(DCTContext *s);
 
-#endif
+#endif /* AVCODEC_DCT_H */
index ffd3533439bf7e4edb2f8bd6012bb4ecfdf4515c..ba89abd75205c54d5a4074021260e5a2d974c439 100644 (file)
@@ -28,4 +28,4 @@ void ff_ref_fdct(DCTELEM *block);
 void ff_ref_idct(DCTELEM *block);
 void ff_ref_dct_init(void);
 
-#endif
+#endif /* AVCODEC_DCTREF_H */
index 0810f8e7a5154ff9bc12203518f3ceb855cba1a3..4fa8d9137444d6d2ac4cbe9b42dae25b1490dde7 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef DV_TABLEGEN_H
-#define DV_TABLEGEN_H
+#ifndef AVCODEC_DV_TABLEGEN_H
+#define AVCODEC_DV_TABLEGEN_H
 
 #include <stdint.h>
 #include "dv_vlc_data.h"
@@ -93,4 +93,4 @@ static void dv_vlc_map_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* DV_TABLEGEN_H */
+#endif /* AVCODEC_DV_TABLEGEN_H */
index 84111175c640cc3703ded465f3f8e0d5af21cb31..3d9a2d5232a5c857ed6d59f9bc146ad7e194b424 100644 (file)
@@ -30,5 +30,4 @@ void ff_flv2_encode_ac_esc(PutBitContext *pb, int slevel, int level, int run, in
 int ff_flv_decode_picture_header(MpegEncContext *s);
 void ff_flv2_decode_ac_esc(GetBitContext *gb, int *level, int *run, int *last);
 
-#endif
-
+#endif /* AVCODEC_FLV_H */
index 32cd01ea7a5f8b668c7e1eb92641dc269061d272..b78daa7335f0f7595561e2848ded32c3a084c0c7 100644 (file)
@@ -19,8 +19,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef GSMDEC_DATA
-#define GSMDEC_DATA
+#ifndef AVCODEC_GSMDEC_DATA
+#define AVCODEC_GSMDEC_DATA
 
 #include <stdint.h>
 
@@ -44,4 +44,4 @@ typedef struct {
 extern const uint16_t ff_gsm_long_term_gain_tab[4];
 extern const int16_t ff_gsm_dequant_tab[64][8];
 
-#endif
+#endif /* AVCODEC_GSMDEC_DATA */
index cdbe44eb908fa55309f4f68c56b6130e7c64919a..1dc300709e89768f7a3cd7449ae36e44b2828996 100644 (file)
@@ -248,4 +248,5 @@ static inline void memsetw(short *tab, int val, int n)
     for(i=0;i<n;i++)
         tab[i] = val;
 }
-#endif
+
+#endif /* AVCODEC_H263_H */
index 5ac2b8ca5a478484caf98b7d3e770e2734cd8ebf..89b569aa7c98b6ba62cd8e8d80d025147403a9da 100644 (file)
@@ -32,4 +32,4 @@
  */
 void ff_kbd_window_init(float *window, float alpha, int n);
 
-#endif
+#endif /* AVCODEC_KBDWIN_H */
index 9516dfe5796a9e71f031c1e05ab2e23eb4fc0472..cbf56c869447c1b186aecac968085689d2b6e8c6 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef MOTIONPIXELS_TABLEGEN_H
-#define MOTIONPIXELS_TABLEGEN_H
+#ifndef AVCODEC_MOTIONPIXELS_TABLEGEN_H
+#define AVCODEC_MOTIONPIXELS_TABLEGEN_H
 
 #include <stdint.h>
 
@@ -88,4 +88,4 @@ static void motionpixels_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* MOTIONPIXELS_TABLEGEN_H */
+#endif /* AVCODEC_MOTIONPIXELS_TABLEGEN_H */
index 015193e13baf91a1bf987eb5a05f0b2a7b241cc2..d34e73149ce937073e057e97702bf069e3a04620 100644 (file)
@@ -196,4 +196,4 @@ static inline int ff_mpeg4_pred_dc(MpegEncContext * s, int n, int level, int *di
 
     return ret;
 }
-#endif
+#endif /* AVCODEC_MPEG4VIDEO_H */
index 2264b739d24ca74b0850f18845baa6cc24354efd..a222f2c423f21b0656c2b9eeaff5962f55a3704e 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef MPEGAUDIO_TABLEGEN_H
-#define MPEGAUDIO_TABLEGEN_H
+#ifndef AVCODEC_MPEGAUDIO_TABLEGEN_H
+#define AVCODEC_MPEGAUDIO_TABLEGEN_H
 
 #include <stdint.h>
 #include <math.h>
@@ -68,4 +68,4 @@ static void mpegaudio_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* MPEGAUDIO_TABLEGEN_H */
+#endif /* AVCODEC_MPEGAUDIO_TABLEGEN_H */
index 597e2533f5116d71902611d25f62f01ebe5b08d2..a47019cc4b44b07ba2499fadb5a7aee22637ff63 100644 (file)
@@ -60,4 +60,4 @@ void ff_mpadsp_apply_window_fixed(int32_t *synth_buf, int32_t *window,
                                   int *dither_state, int16_t *samples,
                                   int incr);
 
-#endif
+#endif /* AVCODEC_MPEGAUDIODSP_H */
index cf58baaa47e72d67334a255aca8c52909dc9edc1..76c87f1bd960c973ce862cfa3a697c6acee60ffc 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef MSGSMDEC_H
-#define MSGSMDEC_H
+#ifndef AVCODEC_MSGSMDEC_H
+#define AVCODEC_MSGSMDEC_H
 
 #include "avcodec.h"
 
 int ff_msgsm_decode_block(AVCodecContext *avctx, int16_t *samples,
                           const uint8_t *buf);
 
-#endif
+#endif /* AVCODEC_MSGSMDEC_H */
index 88d9aa624540238b63d654db708d44c8a4fce797..027fc7ed239f79c70f629898b3a8273a03209810 100644 (file)
@@ -54,4 +54,4 @@ extern const int16_t  ff_nelly_delta_table[32];
 
 void ff_nelly_get_sample_bits(const float *buf, int *bits);
 
-#endif
+#endif /* AVCODEC_NELLYMOSER_H */
index e754bb93d85e81aa4fee2e67143761f8235b51ea..70de27d1922ebf779444ffbf62d6c1370f9207f1 100644 (file)
@@ -13,4 +13,4 @@
 #include "libavutil/opt.h"
 #endif
 
-#endif
+#endif /* AVCODEC_OPT_H */
index 838052e0d6a6bb9afa218c3c0171344cd389e182..79d6561646ac36e16af00c9c02ee9c3ba91b4ae5 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef PCM_TABLEGEN_H
-#define PCM_TABLEGEN_H
+#ifndef AVCODEC_PCM_TABLEGEN_H
+#define AVCODEC_PCM_TABLEGEN_H
 
 #include <stdint.h>
 #include "libavutil/attributes.h"
@@ -116,4 +116,4 @@ static void pcm_ulaw_tableinit(void)
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* PCM_TABLEGEN_H */
+#endif /* AVCODEC_PCM_TABLEGEN_H */
index 769d53bb26b177f87439f9ce0ff3c12e27ef8d12..b2bb294f58d818e35529feea7cfc77f62c473395 100644 (file)
@@ -20,8 +20,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef QDM2_TABLEGEN_H
-#define QDM2_TABLEGEN_H
+#ifndef AVCODEC_QDM2_TABLEGEN_H
+#define AVCODEC_QDM2_TABLEGEN_H
 
 #include <stdint.h>
 #include <math.h>
@@ -99,4 +99,4 @@ static av_cold void init_noise_samples(void) {
 }
 #endif /* CONFIG_HARDCODED_TABLES */
 
-#endif /* QDM2_TABLEGEN_H */
+#endif /* AVCODEC_QDM2_TABLEGEN_H */
index 7572c6c76d63bdf8ede317b683d8e722d78ab499..8ff620fb59367be40609a75019f2d43af8673491 100644 (file)
@@ -71,4 +71,4 @@ void ff_rdft_end(RDFTContext *s);
 void ff_rdft_init_arm(RDFTContext *s);
 
 
-#endif
+#endif /* AVCODEC_RDFT_H */
index 1a8b7afaed1ce8986dbbbc75a8b9ee7757d18414..5abe34557be7b4d9c360732ce90118af529072db 100644 (file)
@@ -25,4 +25,4 @@
 void idct_sh4(DCTELEM *block);
 void dsputil_init_align(DSPContext* c, AVCodecContext *avctx);
 
-#endif
+#endif /* AVCODEC_SH4_DSPUTIL_SH4_H */
index 2ed386a32dc56451b509dbd454424fafc7d7ad52..eefe5bfe7fe4d88dc983ec854319cbfae2d7fb19 100644 (file)
@@ -56,4 +56,4 @@ extern SINETABLE(4096);
 
 extern SINETABLE_CONST float * const ff_sine_windows[13];
 
-#endif
+#endif /* AVCODEC_SINEWIN_H */
index 91c26c1551738f71b1b72d151e59d121ce491c60..720f1ab6b862d9b9612ee1f9c4a30fc2b18eb512 100644 (file)
@@ -20,6 +20,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_SINEWIN_TABLEGEN_H
+#define AVCODEC_SINEWIN_TABLEGEN_H
+
 #include <assert.h>
 // do not use libavutil/libm.h since this is compiled both
 // for the host and the target and config.h is only valid for the target
@@ -58,3 +61,5 @@ av_cold void ff_init_ff_sine_windows(int index) {
     ff_sine_window_init(ff_sine_windows[index], 1 << index);
 #endif
 }
+
+#endif /* AVCODEC_SINEWIN_TABLEGEN_H */
index b590e593618f6f40ca2730e2a89c355a012f8cdc..4be86e25e0a43face92f217739db6c40c823b80f 100644 (file)
@@ -26,4 +26,4 @@ void ff_simple_idct_put_vis(uint8_t *dest, int line_size, DCTELEM *data);
 void ff_simple_idct_add_vis(uint8_t *dest, int line_size, DCTELEM *data);
 void ff_simple_idct_vis(DCTELEM *data);
 
-#endif
+#endif /* AVCODEC_SPARC_DSPUTIL_VIS_H */
index d7c3f451a1ba5d03f5c31663e58a22aa5c2feead..f4ef5537b14ada219acb5823a9556fa386f1243e 100644 (file)
@@ -16,6 +16,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVCODEC_TARGA_H
+#define AVCODEC_TARGA_H
+
 /**
  * @file
  * targa file common definitions
@@ -34,3 +37,5 @@ enum TargaCompr {
     TGA_BW     = 3, // black & white or grayscale
     TGA_RLE    = 8, // flag pointing that data is RLE-coded
 };
+
+#endif /* AVCODEC_TARGA_H */
index 3a6eee52d43763a86ba345d122c6515cd3c5021d..5a96cd436c5e74a5e39cdfc7c09ed8c0e08e21cf 100644 (file)
@@ -239,4 +239,4 @@ typedef struct {
     AVFrame frames[5];
 } VP8Context;
 
-#endif
+#endif /* AVCODEC_VP8_H */
index 6d1c070a055080661696df635fc10b7f473de829..4ea4581bc95a367fb0e692b20bd0b06927972a9a 100644 (file)
@@ -685,4 +685,4 @@ static const uint8_t vp8_mv_default_prob[2][19] = {
       128, 130, 130,  74, 148, 180, 203, 236, 254, 254 }
 };
 
-#endif
+#endif /* AVCODEC_VP8DATA_H */
index e6eace235d8bd04933bcd9317b601036ccc524cf..c6379050d905ec18730b1efd3edb5ebd661752ac 100644 (file)
@@ -36,4 +36,4 @@ void ff_imdct_half_sse(FFTContext *s, FFTSample *output, const FFTSample *input)
 void ff_imdct_half_avx(FFTContext *s, FFTSample *output, const FFTSample *input);
 void ff_dct32_float_sse(FFTSample *out, const FFTSample *in);
 
-#endif
+#endif /* AVCODEC_X86_FFT_H */
index 7a4e908df9a2038c95d7d106c973f04d8af56119..3c6aed836121db581ab9e09d86a6587ba113c28a 100644 (file)
@@ -18,8 +18,8 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVCODEC_INTERNAL_XVMC_H
-#define AVCODEC_INTERNAL_XVMC_H
+#ifndef AVCODEC_XVMC_INTERNAL_H
+#define AVCODEC_XVMC_INTERNAL_H
 
 #include "avcodec.h"
 #include "mpegvideo.h"
@@ -30,4 +30,4 @@ int  ff_xvmc_field_start(MpegEncContext*s, AVCodecContext *avctx);
 void ff_xvmc_field_end(MpegEncContext *s);
 void ff_xvmc_decode_mb(MpegEncContext *s);
 
-#endif /* AVCODEC_INTERNAL_XVMC_H */
+#endif /* AVCODEC_XVMC_INTERNAL_H */
index c126cae093511660ee06167740fb68da2405c387..33e93e27fc5f862beef98cd7e92351d0d856b06c 100644 (file)
@@ -859,4 +859,4 @@ static inline void avfilter_insert_outpad(AVFilterContext *f, unsigned index,
                         &f->output_pads, &f->outputs, p);
 }
 
-#endif  /* AVFILTER_AVFILTER_H */
+#endif /* AVFILTER_AVFILTER_H */
index 801e50176f24e725fecf2d14053014450d1b24a2..a0f6b2e01f1328bf1988e9a19359ddc486123122 100644 (file)
@@ -120,4 +120,4 @@ int avfilter_graph_parse(AVFilterGraph *graph, const char *filters,
                          AVFilterInOut *inputs, AVFilterInOut *outputs,
                          AVClass *log_ctx);
 
-#endif  /* AVFILTER_AVFILTERGRAPH_H */
+#endif /* AVFILTER_AVFILTERGRAPH_H */
index 0406a0d27e619e9c7f7074d995862b69cc7b23c2..64b3f3b8656a44a6c2464b474d74965ca60faece 100644 (file)
@@ -52,4 +52,4 @@ int ff_avfilter_graph_config_formats(AVFilterGraph *graphctx, AVClass *log_ctx);
 /** default handler for freeing audio/video buffer when there are no references left */
 void ff_avfilter_default_free_buffer(AVFilterBuffer *buf);
 
-#endif  /* AVFILTER_INTERNAL_H */
+#endif /* AVFILTER_INTERNAL_H */
index c7fc3824e0ab0f1cd182479e9cbb7e01ef7f7b60..6867f81e1c8d497c9bcaee777cda0c5f37f6fab5 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFILTER_VSRC_BUFFER_H
+#define AVFILTER_VSRC_BUFFER_H
+
 #include "libavcodec/avcodec.h" /* AVFrame */
 #include "avfilter.h"
 
 int av_vsrc_buffer_add_frame(AVFilterContext *buffer_filter, AVFrame *frame,
                              int64_t pts, AVRational pixel_aspect);
 
+#endif /* AVFILTER_VSRC_BUFFER_H */
index 6630aaf61d44d8916dda5b5483978a042166a4ab..1369c438911853e506830f4e01f1c88178cd8e52 100644 (file)
@@ -98,4 +98,4 @@ int ffio_open_dyn_packet_buf(AVIOContext **s, int max_packet_size);
  */
 int ffio_fdopen(AVIOContext **s, URLContext *h);
 
-#endif // AVFORMAT_AVIO_INTERNAL_H
+#endif /* AVFORMAT_AVIO_INTERNAL_H */
index bce272a087a50665399693af645ffb25076f4492..a5380ca13d0aff74fdd36c5219def7140604cb68 100644 (file)
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
-#ifndef AVFORMAT_META_H
-#define AVFORMAT_META_H
+#ifndef AVFORMAT_FFMETA_H
+#define AVFORMAT_FFMETA_H
 
 #define ID_STRING  ";FFMETADATA"
 #define ID_CHAPTER "[CHAPTER]"
 #define ID_STREAM  "[STREAM]"
 
-#endif /* AVFORMAT_META_H */
+#endif /* AVFORMAT_FFMETA_H */
index 12e9ef0962c5ff2db130420326c6d0156419350d..36e772c7f9c5dda497780cefcfe110b7953719c4 100644 (file)
@@ -60,4 +60,5 @@ typedef struct {
 int ff_mms_asf_header_parser(MMSContext * mms);
 int ff_mms_read_data(MMSContext *mms, uint8_t *buf, const int size);
 int ff_mms_read_header(MMSContext * mms, uint8_t * buf, const int size);
-#endif
+
+#endif /* AVFORMAT_MMS_H */
index dedb4e88327533b27e3ed1d5d5bfd555a3506ab0..b2a6b63be442fe009ca5ec791e0ebfd424c620b4 100644 (file)
@@ -19,6 +19,9 @@
  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
+#ifndef AVFORMAT_SPDIF_H
+#define AVFORMAT_SPDIF_H
+
 #include <stdint.h>
 
 #define SYNCWORD1 0xF872
@@ -55,3 +58,5 @@ static const uint16_t spdif_mpeg_pkt_offset[2][3] = {
 };
 
 void ff_spdif_bswap_buf16(uint16_t *dst, const uint16_t *src, int w);
+
+#endif /* AVFORMAT_SPDIF_H */
index c5732c64c67601d4685093f8b1604dadd81fc6fa..caafe07cceb1d109c0ea49772b189c5c6e11412f 100644 (file)
@@ -173,4 +173,4 @@ int ffurl_register_protocol(URLProtocol *protocol, int size);
 int ff_udp_set_remote_url(URLContext *h, const char *uri);
 int ff_udp_get_local_port(URLContext *h);
 
-#endif //AVFORMAT_URL_H
+#endif /* AVFORMAT_URL_H */
index 22b5dc9791ea606cd6ddec099f7c01a72896b746..63f419125baa2545a048d2009c7bd6aee8f0bb8e 100644 (file)
@@ -69,4 +69,4 @@
 #define FF_API_SDP_CREATE              (LIBAVFORMAT_VERSION_MAJOR < 54)
 #endif
 
-#endif //AVFORMAT_VERSION_H
+#endif /* AVFORMAT_VERSION_H */
index 87333132fd342cb1e1fc6cd1767eca762440c965..b223d26e8d138ce478202c69fc8172890d591fba 100644 (file)
@@ -63,4 +63,4 @@
 #define av_assert2(cond) ((void)0)
 #endif
 
-#endif
+#endif /* AVUTIL_AVASSERT_H */
index 11ba368678b9b8d5c29cd01f78a18cd36c23b7d6..777cdc01d1f56e89dbd37afe89471bd03c38bb78 100644 (file)
@@ -51,4 +51,4 @@ int ff_get_cpu_flags_arm(void);
 int ff_get_cpu_flags_ppc(void);
 int ff_get_cpu_flags_x86(void);
 
-#endif  /* AVUTIL_CPU_H */
+#endif /* AVUTIL_CPU_H */