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/xa.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/xa.c')
-rw-r--r-- | libavformat/xa.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libavformat/xa.c b/libavformat/xa.c index c3421a34e7..7dd19585c2 100644 --- a/libavformat/xa.c +++ b/libavformat/xa.c @@ -119,10 +119,10 @@ static int xa_read_packet(AVFormatContext *s, } AVInputFormat ff_xa_demuxer = { - "xa", - NULL_IF_CONFIG_SMALL("Maxis XA File Format"), - sizeof(MaxisXADemuxContext), - xa_probe, - xa_read_header, - xa_read_packet, + .name = "xa", + .long_name = NULL_IF_CONFIG_SMALL("Maxis XA File Format"), + .priv_data_size = sizeof(MaxisXADemuxContext), + .read_probe = xa_probe, + .read_header = xa_read_header, + .read_packet = xa_read_packet, }; |