diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-07-16 22:18:12 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-07-17 06:58:37 +0200 |
commit | dfc2c4d900e48fa788ad9364ac408c01cfb62b94 (patch) | |
tree | eafdab4d3a81a427ddf30862f88af6a650eeaef0 /libavformat/avidec.c | |
parent | 62709956677d648cbf340dccd4549fa62142cb7e (diff) | |
download | ffmpeg-dfc2c4d900e48fa788ad9364ac408c01cfb62b94.tar.gz |
lavf: use designated initialisers for all (de)muxers.
It's more readable and less prone to breakage.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 2ea156e9ec..0ea093c6d7 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -1389,12 +1389,12 @@ static int avi_probe(AVProbeData *p) } AVInputFormat ff_avi_demuxer = { - "avi", - NULL_IF_CONFIG_SMALL("AVI format"), - sizeof(AVIContext), - avi_probe, - avi_read_header, - avi_read_packet, - avi_read_close, - avi_read_seek, + .name = "avi", + .long_name = NULL_IF_CONFIG_SMALL("AVI format"), + .priv_data_size = sizeof(AVIContext), + .read_probe = avi_probe, + .read_header = avi_read_header, + .read_packet = avi_read_packet, + .read_close = avi_read_close, + .read_seek = avi_read_seek, }; |