[FFmpeg-cvslog] cosmetics: Align muxer/demuxer declarations

Martin Storsjö git at videolan.org
Fri Apr 6 23:27:41 CEST 2012


ffmpeg | branch: master | Martin Storsjö <martin at martin.st> | Fri Apr  6 17:50:48 2012 +0300| [20234a4bd7e187ae31f9a66b5c40e98666bc30e4] | committer: Martin Storsjö

cosmetics: Align muxer/demuxer declarations

Also add missing trailing commas, break long codec_tag lines and
add spaces in codec_tag declarations.

Signed-off-by: Martin Storsjö <martin at martin.st>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20234a4bd7e187ae31f9a66b5c40e98666bc30e4
---

 libavformat/a64.c          |   14 +++++++-------
 libavformat/aacdec.c       |    4 ++--
 libavformat/ac3dec.c       |    4 ++--
 libavformat/aea.c          |    4 ++--
 libavformat/aiffdec.c      |    2 +-
 libavformat/aiffenc.c      |    2 +-
 libavformat/amr.c          |    2 +-
 libavformat/ape.c          |    2 +-
 libavformat/asfdec.c       |    2 +-
 libavformat/asfenc.c       |   12 ++++++++----
 libavformat/au.c           |    4 ++--
 libavformat/avienc.c       |    6 ++++--
 libavformat/bmv.c          |    2 +-
 libavformat/cafdec.c       |    2 +-
 libavformat/cdg.c          |    2 +-
 libavformat/daud.c         |    2 +-
 libavformat/dfa.c          |    2 +-
 libavformat/dtsdec.c       |    4 ++--
 libavformat/dv.c           |    2 +-
 libavformat/filmstripdec.c |    2 +-
 libavformat/flacdec.c      |    4 ++--
 libavformat/flacenc.c      |    2 +-
 libavformat/flvdec.c       |    8 ++++----
 libavformat/flvenc.c       |    6 ++++--
 libavformat/ingenientdec.c |    4 ++--
 libavformat/iv8.c          |    2 +-
 libavformat/ivfdec.c       |    4 ++--
 libavformat/ivfenc.c       |   10 +++++-----
 libavformat/libnut.c       |    4 ++--
 libavformat/matroskaenc.c  |   10 ++++++----
 libavformat/movenc.c       |   40 +++++++++++++++++++++-------------------
 libavformat/mp3dec.c       |    4 ++--
 libavformat/mp3enc.c       |    2 +-
 libavformat/mpc.c          |    2 +-
 libavformat/mpeg.c         |    2 +-
 libavformat/mpegts.c       |   10 +++++-----
 libavformat/mpegtsenc.c    |    2 +-
 libavformat/mvi.c          |    2 +-
 libavformat/mxg.c          |   12 ++++++------
 libavformat/ncdec.c        |    2 +-
 libavformat/nullenc.c      |    2 +-
 libavformat/nutdec.c       |    7 +++++--
 libavformat/nutenc.c       |    7 +++++--
 libavformat/nuv.c          |    2 +-
 libavformat/pva.c          |    2 +-
 libavformat/rawdec.c       |   18 +++++++++---------
 libavformat/rawenc.c       |   34 +++++++++++++++++-----------------
 libavformat/rawvideodec.c  |    6 +++---
 libavformat/rmenc.c        |    2 +-
 libavformat/rtpenc.c       |    2 +-
 libavformat/sapdec.c       |    2 +-
 libavformat/sapenc.c       |    2 +-
 libavformat/siff.c         |    2 +-
 libavformat/spdifdec.c     |    2 +-
 libavformat/spdifenc.c     |    4 ++--
 libavformat/tmv.c          |    2 +-
 libavformat/tta.c          |    2 +-
 libavformat/vc1test.c      |    2 +-
 libavformat/vocdec.c       |    2 +-
 libavformat/vocenc.c       |    2 +-
 libavformat/wav.c          |   12 ++++++------
 libavformat/yop.c          |    4 ++--
 libavformat/yuv4mpeg.c     |    2 +-
 63 files changed, 174 insertions(+), 156 deletions(-)

diff --git a/libavformat/a64.c b/libavformat/a64.c
index 3cea50b..8748b3e 100644
--- a/libavformat/a64.c
+++ b/libavformat/a64.c
@@ -164,12 +164,12 @@ static int a64_write_trailer(struct AVFormatContext *s)
 }
 
 AVOutputFormat ff_a64_muxer = {
-    .name = "a64",
-    .long_name = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"),
-    .extensions = "a64, A64",
+    .name           = "a64",
+    .long_name      = NULL_IF_CONFIG_SMALL("a64 - video for Commodore 64"),
+    .extensions     = "a64, A64",
     .priv_data_size = sizeof (A64Context),
-    .video_codec = CODEC_ID_A64_MULTI,
-    .write_header  = a64_write_header,
-    .write_packet  = a64_write_packet,
-    .write_trailer = a64_write_trailer
+    .video_codec    = CODEC_ID_A64_MULTI,
+    .write_header   = a64_write_header,
+    .write_packet   = a64_write_packet,
+    .write_trailer  = a64_write_trailer,
 };
diff --git a/libavformat/aacdec.c b/libavformat/aacdec.c
index 992376e..2aedd5d 100644
--- a/libavformat/aacdec.c
+++ b/libavformat/aacdec.c
@@ -87,7 +87,7 @@ AVInputFormat ff_aac_demuxer = {
     .read_probe     = adts_aac_probe,
     .read_header    = adts_aac_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "aac",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "aac",
     .raw_codec_id   = CODEC_ID_AAC,
 };
diff --git a/libavformat/ac3dec.c b/libavformat/ac3dec.c
index 4078b1b..60c3cf9 100644
--- a/libavformat/ac3dec.c
+++ b/libavformat/ac3dec.c
@@ -94,8 +94,8 @@ AVInputFormat ff_eac3_demuxer = {
     .read_probe     = eac3_probe,
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "eac3",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "eac3",
     .raw_codec_id   = CODEC_ID_EAC3,
 };
 #endif
diff --git a/libavformat/aea.c b/libavformat/aea.c
index e360b10..716b885 100644
--- a/libavformat/aea.c
+++ b/libavformat/aea.c
@@ -100,6 +100,6 @@ AVInputFormat ff_aea_demuxer = {
     .read_header    = aea_read_header,
     .read_packet    = aea_read_packet,
     .read_seek      = ff_pcm_read_seek,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "aea",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "aea",
 };
diff --git a/libavformat/aiffdec.c b/libavformat/aiffdec.c
index 27d42ea..3e41406 100644
--- a/libavformat/aiffdec.c
+++ b/libavformat/aiffdec.c
@@ -328,5 +328,5 @@ AVInputFormat ff_aiff_demuxer = {
     .read_header    = aiff_read_header,
     .read_packet    = aiff_read_packet,
     .read_seek      = ff_pcm_read_seek,
-    .codec_tag= (const AVCodecTag* const []){ff_codec_aiff_tags, 0},
+    .codec_tag      = (const AVCodecTag* const []){ ff_codec_aiff_tags, 0 },
 };
diff --git a/libavformat/aiffenc.c b/libavformat/aiffenc.c
index 2916d26..861558c 100644
--- a/libavformat/aiffenc.c
+++ b/libavformat/aiffenc.c
@@ -160,5 +160,5 @@ AVOutputFormat ff_aiff_muxer = {
     .write_header      = aiff_write_header,
     .write_packet      = aiff_write_packet,
     .write_trailer     = aiff_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){ff_codec_aiff_tags, 0},
+    .codec_tag         = (const AVCodecTag* const []){ ff_codec_aiff_tags, 0 },
 };
diff --git a/libavformat/amr.c b/libavformat/amr.c
index 9dd8471..96f559b 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -177,7 +177,7 @@ AVInputFormat ff_amr_demuxer = {
     .read_probe     = amr_probe,
     .read_header    = amr_read_header,
     .read_packet    = amr_read_packet,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
 #endif
 
diff --git a/libavformat/ape.c b/libavformat/ape.c
index 1968286..b3fca23 100644
--- a/libavformat/ape.c
+++ b/libavformat/ape.c
@@ -438,5 +438,5 @@ AVInputFormat ff_ape_demuxer = {
     .read_packet    = ape_read_packet,
     .read_close     = ape_read_close,
     .read_seek      = ape_read_seek,
-    .extensions = "ape,apl,mac"
+    .extensions     = "ape,apl,mac",
 };
diff --git a/libavformat/asfdec.c b/libavformat/asfdec.c
index f094647..0cb43a5 100644
--- a/libavformat/asfdec.c
+++ b/libavformat/asfdec.c
@@ -1292,5 +1292,5 @@ AVInputFormat ff_asf_demuxer = {
     .read_close     = asf_read_close,
     .read_seek      = asf_read_seek,
     .read_timestamp = asf_read_pts,
-    .flags = AVFMT_NOBINSEARCH | AVFMT_NOGENSEARCH,
+    .flags          = AVFMT_NOBINSEARCH | AVFMT_NOGENSEARCH,
 };
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c
index 1cfc857..e45232d 100644
--- a/libavformat/asfenc.c
+++ b/libavformat/asfenc.c
@@ -893,8 +893,10 @@ AVOutputFormat ff_asf_muxer = {
     .write_header   = asf_write_header,
     .write_packet   = asf_write_packet,
     .write_trailer  = asf_write_trailer,
-    .flags = AVFMT_GLOBALHEADER,
-    .codec_tag= (const AVCodecTag* const []){codec_asf_bmp_tags, ff_codec_bmp_tags, ff_codec_wav_tags, 0},
+    .flags          = AVFMT_GLOBALHEADER,
+    .codec_tag      = (const AVCodecTag* const []){
+        codec_asf_bmp_tags, ff_codec_bmp_tags, ff_codec_wav_tags, 0
+    },
 };
 #endif
 
@@ -914,7 +916,9 @@ AVOutputFormat ff_asf_stream_muxer = {
     .write_header   = asf_write_stream_header,
     .write_packet   = asf_write_packet,
     .write_trailer  = asf_write_trailer,
-    .flags = AVFMT_GLOBALHEADER,
-    .codec_tag= (const AVCodecTag* const []){codec_asf_bmp_tags, ff_codec_bmp_tags, ff_codec_wav_tags, 0},
+    .flags          = AVFMT_GLOBALHEADER,
+    .codec_tag      = (const AVCodecTag* const []){
+        codec_asf_bmp_tags, ff_codec_bmp_tags, ff_codec_wav_tags, 0
+    },
 };
 #endif //CONFIG_ASF_STREAM_MUXER
diff --git a/libavformat/au.c b/libavformat/au.c
index dddc854..3a83d28 100644
--- a/libavformat/au.c
+++ b/libavformat/au.c
@@ -191,7 +191,7 @@ AVInputFormat ff_au_demuxer = {
     .read_header    = au_read_header,
     .read_packet    = au_read_packet,
     .read_seek      = ff_pcm_read_seek,
-    .codec_tag= (const AVCodecTag* const []){codec_au_tags, 0},
+    .codec_tag      = (const AVCodecTag* const []){ codec_au_tags, 0 },
 };
 #endif
 
@@ -206,6 +206,6 @@ AVOutputFormat ff_au_muxer = {
     .write_header      = au_write_header,
     .write_packet      = au_write_packet,
     .write_trailer     = au_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){codec_au_tags, 0},
+    .codec_tag         = (const AVCodecTag* const []){ codec_au_tags, 0 },
 };
 #endif //CONFIG_AU_MUXER
diff --git a/libavformat/avienc.c b/libavformat/avienc.c
index 2a23c21..3689f57 100644
--- a/libavformat/avienc.c
+++ b/libavformat/avienc.c
@@ -654,6 +654,8 @@ AVOutputFormat ff_avi_muxer = {
     .write_header      = avi_write_header,
     .write_packet      = avi_write_packet,
     .write_trailer     = avi_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0},
-    .flags= AVFMT_VARIABLE_FPS,
+    .codec_tag         = (const AVCodecTag* const []){
+        ff_codec_bmp_tags, ff_codec_wav_tags, 0
+    },
+    .flags             = AVFMT_VARIABLE_FPS,
 };
diff --git a/libavformat/bmv.c b/libavformat/bmv.c
index ebf59e9..8c1eb78 100644
--- a/libavformat/bmv.c
+++ b/libavformat/bmv.c
@@ -133,5 +133,5 @@ AVInputFormat ff_bmv_demuxer = {
     .read_header    = bmv_read_header,
     .read_packet    = bmv_read_packet,
     .read_close     = bmv_read_close,
-    .extensions     = "bmv"
+    .extensions     = "bmv",
 };
diff --git a/libavformat/cafdec.c b/libavformat/cafdec.c
index 5d214de..e35026f 100644
--- a/libavformat/cafdec.c
+++ b/libavformat/cafdec.c
@@ -394,5 +394,5 @@ AVInputFormat ff_caf_demuxer = {
     .read_header    = read_header,
     .read_packet    = read_packet,
     .read_seek      = read_seek,
-    .codec_tag = (const AVCodecTag*[]){ff_codec_caf_tags, 0},
+    .codec_tag      = (const AVCodecTag*[]){ ff_codec_caf_tags, 0 },
 };
diff --git a/libavformat/cdg.c b/libavformat/cdg.c
index c0adf3b..bbc3b40 100644
--- a/libavformat/cdg.c
+++ b/libavformat/cdg.c
@@ -68,5 +68,5 @@ AVInputFormat ff_cdg_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("CD Graphics Format"),
     .read_header    = read_header,
     .read_packet    = read_packet,
-    .extensions = "cdg"
+    .extensions     = "cdg",
 };
diff --git a/libavformat/daud.c b/libavformat/daud.c
index 8de4aad..ef02b1a 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -75,7 +75,7 @@ AVInputFormat ff_daud_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("D-Cinema audio format"),
     .read_header    = daud_header,
     .read_packet    = daud_packet,
-    .extensions = "302",
+    .extensions     = "302",
 };
 #endif
 
diff --git a/libavformat/dfa.c b/libavformat/dfa.c
index 283a607..2ab3596 100644
--- a/libavformat/dfa.c
+++ b/libavformat/dfa.c
@@ -114,5 +114,5 @@ AVInputFormat ff_dfa_demuxer = {
     .read_probe     = dfa_probe,
     .read_header    = dfa_read_header,
     .read_packet    = dfa_read_packet,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/dtsdec.c b/libavformat/dtsdec.c
index 95bae54..c8da0d4 100644
--- a/libavformat/dtsdec.c
+++ b/libavformat/dtsdec.c
@@ -71,7 +71,7 @@ AVInputFormat ff_dts_demuxer = {
     .read_probe     = dts_probe,
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "dts",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "dts",
     .raw_codec_id   = CODEC_ID_DTS,
 };
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 14be5fb..b96b3ba 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -542,6 +542,6 @@ AVInputFormat ff_dv_demuxer = {
     .read_packet    = dv_read_packet,
     .read_close     = dv_read_close,
     .read_seek      = dv_read_seek,
-    .extensions = "dv,dif",
+    .extensions     = "dv,dif",
 };
 #endif
diff --git a/libavformat/filmstripdec.c b/libavformat/filmstripdec.c
index 1a3b947..074194a 100644
--- a/libavformat/filmstripdec.c
+++ b/libavformat/filmstripdec.c
@@ -106,5 +106,5 @@ AVInputFormat ff_filmstrip_demuxer = {
     .read_header    = read_header,
     .read_packet    = read_packet,
     .read_seek      = read_seek,
-    .extensions = "flm",
+    .extensions     = "flm",
 };
diff --git a/libavformat/flacdec.c b/libavformat/flacdec.c
index 7174fcf..8981a56 100644
--- a/libavformat/flacdec.c
+++ b/libavformat/flacdec.c
@@ -155,7 +155,7 @@ AVInputFormat ff_flac_demuxer = {
     .read_probe     = flac_probe,
     .read_header    = flac_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "flac",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "flac",
     .raw_codec_id   = CODEC_ID_FLAC,
 };
diff --git a/libavformat/flacenc.c b/libavformat/flacenc.c
index 725dc71..436e10d 100644
--- a/libavformat/flacenc.c
+++ b/libavformat/flacenc.c
@@ -127,5 +127,5 @@ AVOutputFormat ff_flac_muxer = {
     .write_header      = flac_write_header,
     .write_packet      = flac_write_packet,
     .write_trailer     = flac_write_trailer,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c
index 55ac9da..7c4b792 100644
--- a/libavformat/flvdec.c
+++ b/libavformat/flvdec.c
@@ -707,10 +707,10 @@ AVInputFormat ff_flv_demuxer = {
     .read_probe     = flv_probe,
     .read_header    = flv_read_header,
     .read_packet    = flv_read_packet,
-    .read_seek = flv_read_seek,
+    .read_seek      = flv_read_seek,
 #if 0
-    .read_seek2 = flv_read_seek2,
+    .read_seek2     = flv_read_seek2,
 #endif
-    .read_close = flv_read_close,
-    .extensions = "flv",
+    .read_close     = flv_read_close,
+    .extensions     = "flv",
 };
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index 623bea7..42ecde1 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
@@ -484,6 +484,8 @@ AVOutputFormat ff_flv_muxer = {
     .write_header   = flv_write_header,
     .write_packet   = flv_write_packet,
     .write_trailer  = flv_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){flv_video_codec_ids, flv_audio_codec_ids, 0},
-    .flags= AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
+    .codec_tag      = (const AVCodecTag* const []){
+        flv_video_codec_ids, flv_audio_codec_ids, 0
+    },
+    .flags          = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
 };
diff --git a/libavformat/ingenientdec.c b/libavformat/ingenientdec.c
index bed525f..5b22242 100644
--- a/libavformat/ingenientdec.c
+++ b/libavformat/ingenientdec.c
@@ -66,8 +66,8 @@ AVInputFormat ff_ingenient_demuxer = {
     .priv_data_size = sizeof(FFRawVideoDemuxerContext),
     .read_header    = ff_raw_video_read_header,
     .read_packet    = ingenient_read_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "cgi", // FIXME
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "cgi", // FIXME
     .raw_codec_id   = CODEC_ID_MJPEG,
     .priv_class     = &ingenient_demuxer_class,
 };
diff --git a/libavformat/iv8.c b/libavformat/iv8.c
index e597911..4402855 100644
--- a/libavformat/iv8.c
+++ b/libavformat/iv8.c
@@ -114,5 +114,5 @@ AVInputFormat ff_iv8_demuxer = {
     .read_probe     = probe,
     .read_header    = read_header,
     .read_packet    = read_packet,
-    .flags= AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/ivfdec.c b/libavformat/ivfdec.c
index ae84a6f..9482fc2 100644
--- a/libavformat/ivfdec.c
+++ b/libavformat/ivfdec.c
@@ -86,6 +86,6 @@ AVInputFormat ff_ivf_demuxer = {
     .read_probe     = probe,
     .read_header    = read_header,
     .read_packet    = read_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .codec_tag = (const AVCodecTag*[]){ff_codec_bmp_tags, 0},
+    .flags          = AVFMT_GENERIC_INDEX,
+    .codec_tag      = (const AVCodecTag*[]){ ff_codec_bmp_tags, 0 },
 };
diff --git a/libavformat/ivfenc.c b/libavformat/ivfenc.c
index 55ce586..560ec9a 100644
--- a/libavformat/ivfenc.c
+++ b/libavformat/ivfenc.c
@@ -59,11 +59,11 @@ static int ivf_write_packet(AVFormatContext *s, AVPacket *pkt)
 }
 
 AVOutputFormat ff_ivf_muxer = {
-    .name = "ivf",
-    .long_name = NULL_IF_CONFIG_SMALL("On2 IVF"),
-    .extensions = "ivf",
-    .audio_codec = CODEC_ID_NONE,
-    .video_codec = CODEC_ID_VP8,
+    .name         = "ivf",
+    .long_name    = NULL_IF_CONFIG_SMALL("On2 IVF"),
+    .extensions   = "ivf",
+    .audio_codec  = CODEC_ID_NONE,
+    .video_codec  = CODEC_ID_VP8,
     .write_header = ivf_write_header,
     .write_packet = ivf_write_packet,
 };
diff --git a/libavformat/libnut.c b/libavformat/libnut.c
index 3bb3558..4295d67 100644
--- a/libavformat/libnut.c
+++ b/libavformat/libnut.c
@@ -162,7 +162,7 @@ AVOutputFormat ff_libnut_muxer = {
     .write_header      = nut_write_header,
     .write_packet      = nut_write_packet,
     .write_trailer     = nut_write_trailer,
-    .flags = AVFMT_GLOBALHEADER,
+    .flags             = AVFMT_GLOBALHEADER,
 };
 #endif /* CONFIG_LIBNUT_MUXER */
 
@@ -307,5 +307,5 @@ AVInputFormat ff_libnut_demuxer = {
     .read_packet    = nut_read_packet,
     .read_close     = nut_read_close,
     .read_seek      = nut_read_seek,
-    .extensions = "nut",
+    .extensions     = "nut",
 };
diff --git a/libavformat/matroskaenc.c b/libavformat/matroskaenc.c
index 984d0f1..9334b52 100644
--- a/libavformat/matroskaenc.c
+++ b/libavformat/matroskaenc.c
@@ -1306,7 +1306,9 @@ AVOutputFormat ff_matroska_muxer = {
     .write_packet      = mkv_write_packet,
     .write_trailer     = mkv_write_trailer,
     .flags             = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
-    .codec_tag         = (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0},
+    .codec_tag         = (const AVCodecTag* const []){
+         ff_codec_bmp_tags, ff_codec_wav_tags, 0
+    },
     .subtitle_codec    = CODEC_ID_SSA,
     .query_codec       = mkv_query_codec,
 };
@@ -1324,7 +1326,7 @@ AVOutputFormat ff_webm_muxer = {
     .write_header      = mkv_write_header,
     .write_packet      = mkv_write_packet,
     .write_trailer     = mkv_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
 };
 #endif
 
@@ -1344,7 +1346,7 @@ AVOutputFormat ff_matroska_audio_muxer = {
     .write_header      = mkv_write_header,
     .write_packet      = mkv_write_packet,
     .write_trailer     = mkv_write_trailer,
-    .flags = AVFMT_GLOBALHEADER,
-    .codec_tag = (const AVCodecTag* const []){ff_codec_wav_tags, 0},
+    .flags             = AVFMT_GLOBALHEADER,
+    .codec_tag         = (const AVCodecTag* const []){ ff_codec_wav_tags, 0 },
 };
 #endif
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index f776c75..5777443 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -3279,9 +3279,11 @@ AVOutputFormat ff_mov_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){ff_codec_movvideo_tags, ff_codec_movaudio_tags, 0},
-    .priv_class = &mov_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){
+        ff_codec_movvideo_tags, ff_codec_movaudio_tags, 0
+    },
+    .priv_class        = &mov_muxer_class,
 };
 #endif
 #if CONFIG_TGP_MUXER
@@ -3296,9 +3298,9 @@ AVOutputFormat ff_tgp_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){codec_3gp_tags, 0},
-    .priv_class = &tgp_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){ codec_3gp_tags, 0 },
+    .priv_class        = &tgp_muxer_class,
 };
 #endif
 #if CONFIG_MP4_MUXER
@@ -3318,9 +3320,9 @@ AVOutputFormat ff_mp4_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){ff_mp4_obj_type, 0},
-    .priv_class = &mp4_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
+    .priv_class        = &mp4_muxer_class,
 };
 #endif
 #if CONFIG_PSP_MUXER
@@ -3339,9 +3341,9 @@ AVOutputFormat ff_psp_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){ff_mp4_obj_type, 0},
-    .priv_class = &psp_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
+    .priv_class        = &psp_muxer_class,
 };
 #endif
 #if CONFIG_TG2_MUXER
@@ -3356,9 +3358,9 @@ AVOutputFormat ff_tg2_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){codec_3gp_tags, 0},
-    .priv_class = &tg2_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){ codec_3gp_tags, 0 },
+    .priv_class        = &tg2_muxer_class,
 };
 #endif
 #if CONFIG_IPOD_MUXER
@@ -3374,9 +3376,9 @@ AVOutputFormat ff_ipod_muxer = {
     .write_header      = mov_write_header,
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag = (const AVCodecTag* const []){codec_ipod_tags, 0},
-    .priv_class = &ipod_muxer_class,
+    .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
+    .codec_tag         = (const AVCodecTag* const []){ codec_ipod_tags, 0 },
+    .priv_class        = &ipod_muxer_class,
 };
 #endif
 #if CONFIG_ISMV_MUXER
@@ -3393,7 +3395,7 @@ AVOutputFormat ff_ismv_muxer = {
     .write_packet      = ff_mov_write_packet,
     .write_trailer     = mov_write_trailer,
     .flags             = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH,
-    .codec_tag         = (const AVCodecTag* const []){ff_mp4_obj_type, 0},
+    .codec_tag         = (const AVCodecTag* const []){ ff_mp4_obj_type, 0 },
     .priv_class        = &ismv_muxer_class,
 };
 #endif
diff --git a/libavformat/mp3dec.c b/libavformat/mp3dec.c
index fc8b8a9..d233209 100644
--- a/libavformat/mp3dec.c
+++ b/libavformat/mp3dec.c
@@ -193,6 +193,6 @@ AVInputFormat ff_mp3_demuxer = {
     .read_probe     = mp3_read_probe,
     .read_header    = mp3_read_header,
     .read_packet    = mp3_read_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "mp2,mp3,m2a", /* XXX: use probe */
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "mp2,mp3,m2a", /* XXX: use probe */
 };
diff --git a/libavformat/mp3enc.c b/libavformat/mp3enc.c
index fb46ac9..5365e3d 100644
--- a/libavformat/mp3enc.c
+++ b/libavformat/mp3enc.c
@@ -319,6 +319,6 @@ AVOutputFormat ff_mp3_muxer = {
     .write_packet      = mp3_write_packet,
     .write_trailer     = mp3_write_trailer,
     .flags             = AVFMT_NOTIMESTAMPS,
-    .priv_class = &mp3_muxer_class,
+    .priv_class        = &mp3_muxer_class,
 };
 #endif
diff --git a/libavformat/mpc.c b/libavformat/mpc.c
index 86e6f8e..03d3629 100644
--- a/libavformat/mpc.c
+++ b/libavformat/mpc.c
@@ -231,5 +231,5 @@ AVInputFormat ff_mpc_demuxer = {
     .read_packet    = mpc_read_packet,
     .read_close     = mpc_read_close,
     .read_seek      = mpc_read_seek,
-    .extensions = "mpc",
+    .extensions     = "mpc",
 };
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 6a26d6d..f0aed06 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -614,5 +614,5 @@ AVInputFormat ff_mpegps_demuxer = {
     .read_header    = mpegps_read_header,
     .read_packet    = mpegps_read_packet,
     .read_timestamp = mpegps_read_dts,
-    .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT,
+    .flags          = AVFMT_SHOW_IDS | AVFMT_TS_DISCONT,
 };
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index c6af892..e067927 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -2266,9 +2266,9 @@ AVInputFormat ff_mpegts_demuxer = {
     .read_close     = mpegts_read_close,
     .read_seek      = read_seek,
     .read_timestamp = mpegts_get_pcr,
-    .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT,
+    .flags          = AVFMT_SHOW_IDS | AVFMT_TS_DISCONT,
 #ifdef USE_SYNCPOINT_SEARCH
-    .read_seek2 = read_seek2,
+    .read_seek2     = read_seek2,
 #endif
 };
 
@@ -2281,9 +2281,9 @@ AVInputFormat ff_mpegtsraw_demuxer = {
     .read_close     = mpegts_read_close,
     .read_seek      = read_seek,
     .read_timestamp = mpegts_get_pcr,
-    .flags = AVFMT_SHOW_IDS|AVFMT_TS_DISCONT,
+    .flags          = AVFMT_SHOW_IDS | AVFMT_TS_DISCONT,
 #ifdef USE_SYNCPOINT_SEARCH
-    .read_seek2 = read_seek2,
+    .read_seek2     = read_seek2,
 #endif
-    .priv_class = &mpegtsraw_class,
+    .priv_class     = &mpegtsraw_class,
 };
diff --git a/libavformat/mpegtsenc.c b/libavformat/mpegtsenc.c
index b55de9d..f60594a 100644
--- a/libavformat/mpegtsenc.c
+++ b/libavformat/mpegtsenc.c
@@ -1125,5 +1125,5 @@ AVOutputFormat ff_mpegts_muxer = {
     .write_packet      = mpegts_write_packet,
     .write_trailer     = mpegts_write_end,
     .flags             = AVFMT_ALLOW_FLUSH,
-    .priv_class = &mpegts_muxer_class,
+    .priv_class        = &mpegts_muxer_class,
 };
diff --git a/libavformat/mvi.c b/libavformat/mvi.c
index 6e937b2..673a712 100644
--- a/libavformat/mvi.c
+++ b/libavformat/mvi.c
@@ -130,5 +130,5 @@ AVInputFormat ff_mvi_demuxer = {
     .priv_data_size = sizeof(MviDemuxContext),
     .read_header    = read_header,
     .read_packet    = read_packet,
-    .extensions = "mvi"
+    .extensions     = "mvi",
 };
diff --git a/libavformat/mxg.c b/libavformat/mxg.c
index 3f8c3e3..cb983f1 100644
--- a/libavformat/mxg.c
+++ b/libavformat/mxg.c
@@ -240,11 +240,11 @@ static int mxg_close(struct AVFormatContext *s)
 }
 
 AVInputFormat ff_mxg_demuxer = {
-    .name = "mxg",
-    .long_name = NULL_IF_CONFIG_SMALL("MxPEG clip file format"),
+    .name           = "mxg",
+    .long_name      = NULL_IF_CONFIG_SMALL("MxPEG clip file format"),
     .priv_data_size = sizeof(MXGContext),
-    .read_header = mxg_read_header,
-    .read_packet = mxg_read_packet,
-    .read_close = mxg_close,
-    .extensions = "mxg"
+    .read_header    = mxg_read_header,
+    .read_packet    = mxg_read_packet,
+    .read_close     = mxg_close,
+    .extensions     = "mxg",
 };
diff --git a/libavformat/ncdec.c b/libavformat/ncdec.c
index 44e227a..cc8ae95 100644
--- a/libavformat/ncdec.c
+++ b/libavformat/ncdec.c
@@ -97,5 +97,5 @@ AVInputFormat ff_nc_demuxer = {
     .read_probe     = nc_probe,
     .read_header    = nc_read_header,
     .read_packet    = nc_read_packet,
-    .extensions = "v",
+    .extensions     = "v",
 };
diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c
index 9849f46..eec6eee 100644
--- a/libavformat/nullenc.c
+++ b/libavformat/nullenc.c
@@ -32,5 +32,5 @@ AVOutputFormat ff_null_muxer = {
     .audio_codec       = AV_NE(CODEC_ID_PCM_S16BE, CODEC_ID_PCM_S16LE),
     .video_codec       = CODEC_ID_RAWVIDEO,
     .write_packet      = null_write_packet,
-    .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE,
+    .flags             = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE,
 };
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 8d1b17d..a2104f1 100644
--- a/libavformat/nutdec.c
+++ b/libavformat/nutdec.c
@@ -931,7 +931,10 @@ AVInputFormat ff_nut_demuxer = {
     .read_packet    = nut_read_packet,
     .read_close     = nut_read_close,
     .read_seek      = read_seek,
-    .extensions = "nut",
-    .codec_tag = (const AVCodecTag * const []) { ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags, ff_nut_subtitle_tags, 0 },
+    .extensions     = "nut",
+    .codec_tag      = (const AVCodecTag * const []) {
+        ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags,
+        ff_nut_subtitle_tags, 0
+    },
 };
 #endif
diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
index ae1c2f1..21af7ca 100644
--- a/libavformat/nutenc.c
+++ b/libavformat/nutenc.c
@@ -877,6 +877,9 @@ AVOutputFormat ff_nut_muxer = {
     .write_header   = nut_write_header,
     .write_packet   = nut_write_packet,
     .write_trailer  = nut_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
-    .codec_tag = (const AVCodecTag * const []){ ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags, ff_nut_subtitle_tags, 0 },
+    .flags          = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
+    .codec_tag      = (const AVCodecTag * const []){
+        ff_codec_bmp_tags, ff_nut_video_tags, ff_codec_wav_tags,
+        ff_nut_subtitle_tags, 0
+    },
 };
diff --git a/libavformat/nuv.c b/libavformat/nuv.c
index 86be778..c1dc07f 100644
--- a/libavformat/nuv.c
+++ b/libavformat/nuv.c
@@ -266,5 +266,5 @@ AVInputFormat ff_nuv_demuxer = {
     .read_probe     = nuv_probe,
     .read_header    = nuv_header,
     .read_packet    = nuv_packet,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/pva.c b/libavformat/pva.c
index 21373a5..064f403 100644
--- a/libavformat/pva.c
+++ b/libavformat/pva.c
@@ -208,5 +208,5 @@ AVInputFormat ff_pva_demuxer = {
     .read_probe     = pva_probe,
     .read_header    = pva_read_header,
     .read_packet    = pva_read_packet,
-    .read_timestamp = pva_read_timestamp
+    .read_timestamp = pva_read_timestamp,
 };
diff --git a/libavformat/rawdec.c b/libavformat/rawdec.c
index 63e963f..1ef780b 100644
--- a/libavformat/rawdec.c
+++ b/libavformat/rawdec.c
@@ -180,8 +180,8 @@ AVInputFormat ff_g722_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("raw G.722"),
     .read_header    = ff_raw_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "g722,722",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "g722,722",
     .raw_codec_id   = CODEC_ID_ADPCM_G722,
 };
 #endif
@@ -192,8 +192,8 @@ AVInputFormat ff_latm_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("raw LOAS/LATM"),
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "latm",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "latm",
     .raw_codec_id   = CODEC_ID_AAC_LATM,
 };
 #endif
@@ -208,8 +208,8 @@ AVInputFormat ff_mlp_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("raw MLP"),
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "mlp",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "mlp",
     .raw_codec_id   = CODEC_ID_MLP,
 };
 #endif
@@ -220,8 +220,8 @@ AVInputFormat ff_truehd_demuxer = {
     .long_name      = NULL_IF_CONFIG_SMALL("raw TrueHD"),
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "thd",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "thd",
     .raw_codec_id   = CODEC_ID_TRUEHD,
 };
 #endif
@@ -233,7 +233,7 @@ AVInputFormat ff_shorten_demuxer = {
     .read_header    = ff_raw_audio_read_header,
     .read_packet    = ff_raw_read_partial_packet,
     .flags          = AVFMT_NOBINSEARCH | AVFMT_NOGENSEARCH | AVFMT_NO_BYTE_SEEK,
-    .extensions = "shn",
+    .extensions     = "shn",
     .raw_codec_id   = CODEC_ID_SHORTEN,
 };
 #endif
diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
index 6e9f4b7..4ad0558 100644
--- a/libavformat/rawenc.c
+++ b/libavformat/rawenc.c
@@ -41,7 +41,7 @@ AVOutputFormat ff_ac3_muxer = {
     .audio_codec       = CODEC_ID_AC3,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -65,7 +65,7 @@ AVOutputFormat ff_dirac_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_DIRAC,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -77,7 +77,7 @@ AVOutputFormat ff_dnxhd_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_DNXHD,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -90,7 +90,7 @@ AVOutputFormat ff_dts_muxer = {
     .audio_codec       = CODEC_ID_DTS,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -103,7 +103,7 @@ AVOutputFormat ff_eac3_muxer = {
     .audio_codec       = CODEC_ID_EAC3,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -116,7 +116,7 @@ AVOutputFormat ff_g722_muxer = {
     .audio_codec       = CODEC_ID_ADPCM_G722,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -129,7 +129,7 @@ AVOutputFormat ff_h261_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_H261,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -142,7 +142,7 @@ AVOutputFormat ff_h263_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_H263,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -154,7 +154,7 @@ AVOutputFormat ff_h264_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_H264,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -166,7 +166,7 @@ AVOutputFormat ff_cavsvideo_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_CAVS,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -178,7 +178,7 @@ AVOutputFormat ff_m4v_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_MPEG4,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -191,7 +191,7 @@ AVOutputFormat ff_mjpeg_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_MJPEG,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -203,7 +203,7 @@ AVOutputFormat ff_mlp_muxer = {
     .audio_codec       = CODEC_ID_MLP,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -227,7 +227,7 @@ AVOutputFormat ff_truehd_muxer = {
     .audio_codec       = CODEC_ID_TRUEHD,
     .video_codec       = CODEC_ID_NONE,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -240,7 +240,7 @@ AVOutputFormat ff_mpeg1video_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_MPEG1VIDEO,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -252,7 +252,7 @@ AVOutputFormat ff_mpeg2video_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_MPEG2VIDEO,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
 
@@ -264,6 +264,6 @@ AVOutputFormat ff_rawvideo_muxer = {
     .audio_codec       = CODEC_ID_NONE,
     .video_codec       = CODEC_ID_RAWVIDEO,
     .write_packet      = ff_raw_write_packet,
-    .flags= AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_NOTIMESTAMPS,
 };
 #endif
diff --git a/libavformat/rawvideodec.c b/libavformat/rawvideodec.c
index 5db4e91..c27cd7c 100644
--- a/libavformat/rawvideodec.c
+++ b/libavformat/rawvideodec.c
@@ -66,8 +66,8 @@ AVInputFormat ff_rawvideo_demuxer = {
     .priv_data_size = sizeof(FFRawVideoDemuxerContext),
     .read_header    = ff_raw_read_header,
     .read_packet    = rawvideo_read_packet,
-    .flags= AVFMT_GENERIC_INDEX,
-    .extensions = "yuv,cif,qcif,rgb",
+    .flags          = AVFMT_GENERIC_INDEX,
+    .extensions     = "yuv,cif,qcif,rgb",
     .raw_codec_id   = CODEC_ID_RAWVIDEO,
-    .priv_class = &rawvideo_demuxer_class,
+    .priv_class     = &rawvideo_demuxer_class,
 };
diff --git a/libavformat/rmenc.c b/libavformat/rmenc.c
index 0312d16..a6df21b 100644
--- a/libavformat/rmenc.c
+++ b/libavformat/rmenc.c
@@ -471,5 +471,5 @@ AVOutputFormat ff_rm_muxer = {
     .write_header      = rm_write_header,
     .write_packet      = rm_write_packet,
     .write_trailer     = rm_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){ff_rm_codec_tags, 0},
+    .codec_tag         = (const AVCodecTag* const []){ ff_rm_codec_tags, 0 },
 };
diff --git a/libavformat/rtpenc.c b/libavformat/rtpenc.c
index 78121ed..29fc2f4 100644
--- a/libavformat/rtpenc.c
+++ b/libavformat/rtpenc.c
@@ -503,5 +503,5 @@ AVOutputFormat ff_rtp_muxer = {
     .write_header      = rtp_write_header,
     .write_packet      = rtp_write_packet,
     .write_trailer     = rtp_write_trailer,
-    .priv_class = &rtp_muxer_class,
+    .priv_class        = &rtp_muxer_class,
 };
diff --git a/libavformat/sapdec.c b/libavformat/sapdec.c
index f0f592e..46a4b96 100644
--- a/libavformat/sapdec.c
+++ b/libavformat/sapdec.c
@@ -234,5 +234,5 @@ AVInputFormat ff_sap_demuxer = {
     .read_header    = sap_read_header,
     .read_packet    = sap_fetch_packet,
     .read_close     = sap_read_close,
-    .flags = AVFMT_NOFILE,
+    .flags          = AVFMT_NOFILE,
 };
diff --git a/libavformat/sapenc.c b/libavformat/sapenc.c
index 0913dd7..ca133f5 100644
--- a/libavformat/sapenc.c
+++ b/libavformat/sapenc.c
@@ -258,5 +258,5 @@ AVOutputFormat ff_sap_muxer = {
     .write_header      = sap_write_header,
     .write_packet      = sap_write_packet,
     .write_trailer     = sap_write_close,
-    .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
+    .flags             = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
 };
diff --git a/libavformat/siff.c b/libavformat/siff.c
index 64260dd..bbea96e 100644
--- a/libavformat/siff.c
+++ b/libavformat/siff.c
@@ -237,5 +237,5 @@ AVInputFormat ff_siff_demuxer = {
     .read_probe     = siff_probe,
     .read_header    = siff_read_header,
     .read_packet    = siff_read_packet,
-    .extensions = "vb,son"
+    .extensions     = "vb,son",
 };
diff --git a/libavformat/spdifdec.c b/libavformat/spdifdec.c
index 106dd8f..3b1e10f 100644
--- a/libavformat/spdifdec.c
+++ b/libavformat/spdifdec.c
@@ -231,5 +231,5 @@ AVInputFormat ff_spdif_demuxer = {
     .read_probe     = spdif_probe,
     .read_header    = spdif_read_header,
     .read_packet    = spdif_read_packet,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index 5a1b8e4..b25c7fa 100644
--- a/libavformat/spdifenc.c
+++ b/libavformat/spdifenc.c
@@ -553,6 +553,6 @@ AVOutputFormat ff_spdif_muxer = {
     .write_header      = spdif_write_header,
     .write_packet      = spdif_write_packet,
     .write_trailer     = spdif_write_trailer,
-    .flags = AVFMT_NOTIMESTAMPS,
-    .priv_class = &class,
+    .flags             = AVFMT_NOTIMESTAMPS,
+    .priv_class        = &class,
 };
diff --git a/libavformat/tmv.c b/libavformat/tmv.c
index 8a96b72..0231505 100644
--- a/libavformat/tmv.c
+++ b/libavformat/tmv.c
@@ -188,5 +188,5 @@ AVInputFormat ff_tmv_demuxer = {
     .read_header    = tmv_read_header,
     .read_packet    = tmv_read_packet,
     .read_seek      = tmv_read_seek,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/tta.c b/libavformat/tta.c
index 0b2337b..c5b0792 100644
--- a/libavformat/tta.c
+++ b/libavformat/tta.c
@@ -166,5 +166,5 @@ AVInputFormat ff_tta_demuxer = {
     .read_header    = tta_read_header,
     .read_packet    = tta_read_packet,
     .read_seek      = tta_read_seek,
-    .extensions = "tta",
+    .extensions     = "tta",
 };
diff --git a/libavformat/vc1test.c b/libavformat/vc1test.c
index 3354ad4..ffb1655 100644
--- a/libavformat/vc1test.c
+++ b/libavformat/vc1test.c
@@ -115,5 +115,5 @@ AVInputFormat ff_vc1t_demuxer = {
     .read_probe     = vc1t_probe,
     .read_header    = vc1t_read_header,
     .read_packet    = vc1t_read_packet,
-    .flags = AVFMT_GENERIC_INDEX,
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/vocdec.c b/libavformat/vocdec.c
index 3c27062..b0af480 100644
--- a/libavformat/vocdec.c
+++ b/libavformat/vocdec.c
@@ -171,5 +171,5 @@ AVInputFormat ff_voc_demuxer = {
     .read_probe     = voc_probe,
     .read_header    = voc_read_header,
     .read_packet    = voc_read_packet,
-    .codec_tag=(const AVCodecTag* const []){ff_voc_codec_tags, 0},
+    .codec_tag      = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
 };
diff --git a/libavformat/vocenc.c b/libavformat/vocenc.c
index d0986bb..30e38bf 100644
--- a/libavformat/vocenc.c
+++ b/libavformat/vocenc.c
@@ -100,5 +100,5 @@ AVOutputFormat ff_voc_muxer = {
     .write_header      = voc_write_header,
     .write_packet      = voc_write_packet,
     .write_trailer     = voc_write_trailer,
-    .codec_tag=(const AVCodecTag* const []){ff_voc_codec_tags, 0},
+    .codec_tag         = (const AVCodecTag* const []){ ff_voc_codec_tags, 0 },
 };
diff --git a/libavformat/wav.c b/libavformat/wav.c
index bccc3db..85849c1 100644
--- a/libavformat/wav.c
+++ b/libavformat/wav.c
@@ -216,8 +216,8 @@ AVOutputFormat ff_wav_muxer = {
     .write_header      = wav_write_header,
     .write_packet      = wav_write_packet,
     .write_trailer     = wav_write_trailer,
-    .codec_tag= (const AVCodecTag* const []){ff_codec_wav_tags, 0},
-    .priv_class = &wav_muxer_class,
+    .codec_tag         = (const AVCodecTag* const []){ ff_codec_wav_tags, 0 },
+    .priv_class        = &wav_muxer_class,
 };
 #endif /* CONFIG_WAV_MUXER */
 
@@ -593,8 +593,8 @@ AVInputFormat ff_wav_demuxer = {
     .read_header    = wav_read_header,
     .read_packet    = wav_read_packet,
     .read_seek      = wav_read_seek,
-    .flags= AVFMT_GENERIC_INDEX,
-    .codec_tag= (const AVCodecTag* const []){ff_codec_wav_tags, 0},
+    .flags          = AVFMT_GENERIC_INDEX,
+    .codec_tag      = (const AVCodecTag* const []){ ff_codec_wav_tags, 0 },
 };
 #endif /* CONFIG_WAV_DEMUXER */
 
@@ -681,7 +681,7 @@ AVInputFormat ff_w64_demuxer = {
     .read_header    = w64_read_header,
     .read_packet    = wav_read_packet,
     .read_seek      = wav_read_seek,
-    .flags = AVFMT_GENERIC_INDEX,
-    .codec_tag = (const AVCodecTag* const []){ff_codec_wav_tags, 0},
+    .flags          = AVFMT_GENERIC_INDEX,
+    .codec_tag      = (const AVCodecTag* const []){ ff_codec_wav_tags, 0 },
 };
 #endif /* CONFIG_W64_DEMUXER */
diff --git a/libavformat/yop.c b/libavformat/yop.c
index f10d8b6..ba49830 100644
--- a/libavformat/yop.c
+++ b/libavformat/yop.c
@@ -213,6 +213,6 @@ AVInputFormat ff_yop_demuxer = {
     .read_packet    = yop_read_packet,
     .read_close     = yop_read_close,
     .read_seek      = yop_read_seek,
-    .extensions = "yop",
-    .flags = AVFMT_GENERIC_INDEX,
+    .extensions     = "yop",
+    .flags          = AVFMT_GENERIC_INDEX,
 };
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c
index df0fc8f..fef6aa0 100644
--- a/libavformat/yuv4mpeg.c
+++ b/libavformat/yuv4mpeg.c
@@ -419,6 +419,6 @@ AVInputFormat ff_yuv4mpegpipe_demuxer = {
     .read_probe     = yuv4_probe,
     .read_header    = yuv4_read_header,
     .read_packet    = yuv4_read_packet,
-    .extensions     = "y4m"
+    .extensions     = "y4m",
 };
 #endif



More information about the ffmpeg-cvslog mailing list