diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-09-23 20:50:11 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-09-24 12:11:17 +0200 |
commit | 30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b (patch) | |
tree | 1280949167f244216ee5ef382be0928a1abbe4e2 /libavformat/daud.c | |
parent | 9ff6d0791b220d80844b45c9217113306a50a6cc (diff) | |
download | ffmpeg-30b4ee7901ec5dbe24f1c75c0c0b43ba551c858b.tar.gz |
Use explicit struct initializers for AVOutputFormat/AVInputFormat declarations.
Diffstat (limited to 'libavformat/daud.c')
-rw-r--r-- | libavformat/daud.c | 21 |
1 files changed, 9 insertions, 12 deletions
diff --git a/libavformat/daud.c b/libavformat/daud.c index 9421d18a3b..6a48818c84 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 |