summaryrefslogtreecommitdiff
path: root/libavformat/wv.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-07-16 22:18:12 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-17 06:58:37 +0200
commitdfc2c4d900e48fa788ad9364ac408c01cfb62b94 (patch)
treeeafdab4d3a81a427ddf30862f88af6a650eeaef0 /libavformat/wv.c
parent62709956677d648cbf340dccd4549fa62142cb7e (diff)
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
Diffstat (limited to 'libavformat/wv.c')
-rw-r--r--libavformat/wv.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavformat/wv.c b/libavformat/wv.c
index d6d7099ba7..7cace17f0b 100644
--- a/libavformat/wv.c
+++ b/libavformat/wv.c
@@ -351,12 +351,11 @@ static int wv_read_seek(AVFormatContext *s, int stream_index, int64_t timestamp,
}
AVInputFormat ff_wv_demuxer = {
- "wv",
- NULL_IF_CONFIG_SMALL("WavPack"),
- sizeof(WVContext),
- wv_probe,
- wv_read_header,
- wv_read_packet,
- NULL,
- wv_read_seek,
+ .name = "wv",
+ .long_name = NULL_IF_CONFIG_SMALL("WavPack"),
+ .priv_data_size = sizeof(WVContext),
+ .read_probe = wv_probe,
+ .read_header = wv_read_header,
+ .read_packet = wv_read_packet,
+ .read_seek = wv_read_seek,
};