summaryrefslogtreecommitdiff
path: root/libavformat/idroqenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-09-23 20:50:11 +0200
committerDiego Biurrun <diego@biurrun.de>2011-09-24 12:11:17 +0200
commit30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b (patch)
tree1280949167f244216ee5ef382be0928a1abbe4e2 /libavformat/idroqenc.c
parent9ff6d0791b220d80844b45c9217113306a50a6cc (diff)
downloadffmpeg-30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b.tar.gz
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
Diffstat (limited to 'libavformat/idroqenc.c')
-rw-r--r--libavformat/idroqenc.c19
1 files changed, 8 insertions, 11 deletions
diff --git a/libavformat/idroqenc.c b/libavformat/idroqenc.c
index 688d58d1ab..266a731cc3 100644
--- a/libavformat/idroqenc.c
+++ b/libavformat/idroqenc.c
@@ -35,15 +35,12 @@ static int roq_write_header(struct AVFormatContext *s)
return 0;
}
-AVOutputFormat ff_roq_muxer =
-{
- "RoQ",
- NULL_IF_CONFIG_SMALL("raw id RoQ format"),
- NULL,
- "roq",
- 0,
- CODEC_ID_ROQ_DPCM,
- CODEC_ID_ROQ,
- roq_write_header,
- ff_raw_write_packet,
+AVOutputFormat ff_roq_muxer = {
+ .name = "RoQ",
+ .long_name = NULL_IF_CONFIG_SMALL("raw id RoQ format"),
+ .extensions = "roq",
+ .audio_codec = CODEC_ID_ROQ_DPCM,
+ .video_codec = CODEC_ID_ROQ,
+ .write_header = roq_write_header,
+ .write_packet = ff_raw_write_packet,
};