summaryrefslogtreecommitdiffstats
path: root/libavformat/daud.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/daud.c
parent9ff6d0791b220d80844b45c9217113306a50a6cc (diff)
downloadffmpeg-streaming-30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b.zip
ffmpeg-streaming-30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b.tar.gz
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r--libavformat/daud.c21
1 files changed, 9 insertions, 12 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c
index 9421d18..6a48818 100644
--- a/libavformat/daud.c
+++ b/libavformat/daud.c
@@ -80,17 +80,14 @@ AVInputFormat ff_daud_demuxer = {
#endif
#if CONFIG_DAUD_MUXER
-AVOutputFormat ff_daud_muxer =
-{
- "daud",
- NULL_IF_CONFIG_SMALL("D-Cinema audio format"),
- NULL,
- "302",
- 0,
- CODEC_ID_PCM_S24DAUD,
- CODEC_ID_NONE,
- daud_write_header,
- daud_write_packet,
- .flags= AVFMT_NOTIMESTAMPS,
+AVOutputFormat ff_daud_muxer = {
+ .name = "daud",
+ .long_name = NULL_IF_CONFIG_SMALL("D-Cinema audio format"),
+ .extensions = "302",
+ .audio_codec = CODEC_ID_PCM_S24DAUD,
+ .video_codec = CODEC_ID_NONE,
+ .write_header = daud_write_header,
+ .write_packet = daud_write_packet,
+ .flags = AVFMT_NOTIMESTAMPS,
};
#endif
OpenPOWER on IntegriCloud