diff options
author | Anton Khirnov | 2011-07-16 22:18:12 +0200 |
---|---|---|
committer | Anton Khirnov | 2011-07-17 06:58:37 +0200 |
commit | dfc2c4d900e48fa788ad9364ac408c01cfb62b94 (patch) | |
tree | eafdab4d3a81a427ddf30862f88af6a650eeaef0 /libavformat/dfa.c | |
parent | 62709956677d648cbf340dccd4549fa62142cb7e (diff) |
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
Diffstat (limited to 'libavformat/dfa.c')
-rw-r--r-- | libavformat/dfa.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/libavformat/dfa.c b/libavformat/dfa.c index 810853568d..cd925e05fc 100644 --- a/libavformat/dfa.c +++ b/libavformat/dfa.c @@ -109,11 +109,10 @@ static int dfa_read_packet(AVFormatContext *s, AVPacket *pkt) } AVInputFormat ff_dfa_demuxer = { - "dfa", - NULL_IF_CONFIG_SMALL("Chronomaster DFA"), - 0, - dfa_probe, - dfa_read_header, - dfa_read_packet, + .name = "dfa", + .long_name = NULL_IF_CONFIG_SMALL("Chronomaster DFA"), + .read_probe = dfa_probe, + .read_header = dfa_read_header, + .read_packet = dfa_read_packet, .flags = AVFMT_GENERIC_INDEX, }; |