diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-07-17 00:18:12 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-17 08:58:37 +0400 |
commit | dfc2c4d900e48fa788ad9364ac408c01cfb62b94 (patch) | |
tree | eafdab4d3a81a427ddf30862f88af6a650eeaef0 /libavformat/sierravmd.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/sierravmd.c')
-rw-r--r-- | libavformat/sierravmd.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c index c0fb22211b..4539cfb20f 100644 --- a/libavformat/sierravmd.c +++ b/libavformat/sierravmd.c @@ -281,11 +281,11 @@ static int vmd_read_close(AVFormatContext *s) } AVInputFormat ff_vmd_demuxer = { - "vmd", - NULL_IF_CONFIG_SMALL("Sierra VMD format"), - sizeof(VmdDemuxContext), - vmd_probe, - vmd_read_header, - vmd_read_packet, - vmd_read_close, + .name = "vmd", + .long_name = NULL_IF_CONFIG_SMALL("Sierra VMD format"), + .priv_data_size = sizeof(VmdDemuxContext), + .read_probe = vmd_probe, + .read_header = vmd_read_header, + .read_packet = vmd_read_packet, + .read_close = vmd_read_close, }; |