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/vqf.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/vqf.c')
-rw-r--r-- | libavformat/vqf.c | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/libavformat/vqf.c b/libavformat/vqf.c index dd02abd70a..590d465c2a 100644 --- a/libavformat/vqf.c +++ b/libavformat/vqf.c @@ -250,13 +250,12 @@ static int vqf_read_seek(AVFormatContext *s, } AVInputFormat ff_vqf_demuxer = { - "vqf", - NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"), - sizeof(VqfContext), - vqf_probe, - vqf_read_header, - vqf_read_packet, - NULL, - vqf_read_seek, + .name = "vqf", + .long_name = NULL_IF_CONFIG_SMALL("Nippon Telegraph and Telephone Corporation (NTT) TwinVQ"), + .priv_data_size = sizeof(VqfContext), + .read_probe = vqf_probe, + .read_header = vqf_read_header, + .read_packet = vqf_read_packet, + .read_seek = vqf_read_seek, .extensions = "vqf", }; |