aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-03-19 12:17:47 +0200
committerMartin Storsjö <martin@martin.st>2012-03-19 14:27:43 +0200
commit17934c1824af1b46339d230e02da1896a5ffa8ce (patch)
treea9a461b19df3737b43efc844798f0f3632d6e8e3
parentbb39bd195a7dec3e8c7eb9ae4294f2fd0f548ed9 (diff)
downloadffmpeg-17934c1824af1b46339d230e02da1896a5ffa8ce.tar.gz
cosmetics: Align some AVInput/OutputFormat declarations
Also add missing trailing commas. Signed-off-by: Martin Storsjö <martin@martin.st>
-rw-r--r--libavformat/rtsp.c6
-rw-r--r--libavformat/rtspdec.c8
-rw-r--r--libavformat/rtspenc.c4
3 files changed, 9 insertions, 9 deletions
diff --git a/libavformat/rtsp.c b/libavformat/rtsp.c
index ecc1cbafef..56deed3b3a 100644
--- a/libavformat/rtsp.c
+++ b/libavformat/rtsp.c
@@ -1929,7 +1929,7 @@ AVInputFormat ff_sdp_demuxer = {
.read_header = sdp_read_header,
.read_packet = ff_rtsp_fetch_packet,
.read_close = sdp_read_close,
- .priv_class = &sdp_demuxer_class
+ .priv_class = &sdp_demuxer_class,
};
#endif /* CONFIG_SDP_DEMUXER */
@@ -2047,7 +2047,7 @@ AVInputFormat ff_rtp_demuxer = {
.read_header = rtp_read_header,
.read_packet = ff_rtsp_fetch_packet,
.read_close = sdp_read_close,
- .flags = AVFMT_NOFILE,
- .priv_class = &rtp_demuxer_class
+ .flags = AVFMT_NOFILE,
+ .priv_class = &rtp_demuxer_class,
};
#endif /* CONFIG_RTP_DEMUXER */
diff --git a/libavformat/rtspdec.c b/libavformat/rtspdec.c
index acae436c13..9306384555 100644
--- a/libavformat/rtspdec.c
+++ b/libavformat/rtspdec.c
@@ -409,8 +409,8 @@ AVInputFormat ff_rtsp_demuxer = {
.read_packet = rtsp_read_packet,
.read_close = rtsp_read_close,
.read_seek = rtsp_read_seek,
- .flags = AVFMT_NOFILE,
- .read_play = rtsp_read_play,
- .read_pause = rtsp_read_pause,
- .priv_class = &rtsp_demuxer_class,
+ .flags = AVFMT_NOFILE,
+ .read_play = rtsp_read_play,
+ .read_pause = rtsp_read_pause,
+ .priv_class = &rtsp_demuxer_class,
};
diff --git a/libavformat/rtspenc.c b/libavformat/rtspenc.c
index 6c14fe6c2b..ad6e485906 100644
--- a/libavformat/rtspenc.c
+++ b/libavformat/rtspenc.c
@@ -242,6 +242,6 @@ AVOutputFormat ff_rtsp_muxer = {
.write_header = rtsp_write_header,
.write_packet = rtsp_write_packet,
.write_trailer = rtsp_write_close,
- .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
- .priv_class = &rtsp_muxer_class,
+ .flags = AVFMT_NOFILE | AVFMT_GLOBALHEADER,
+ .priv_class = &rtsp_muxer_class,
};