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/filmstripdec.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/filmstripdec.c')
-rw-r--r-- | libavformat/filmstripdec.c | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/libavformat/filmstripdec.c b/libavformat/filmstripdec.c index 095bf9e809..e672ba0048 100644 --- a/libavformat/filmstripdec.c +++ b/libavformat/filmstripdec.c @@ -99,13 +99,11 @@ static int read_seek(AVFormatContext *s, int stream_index, int64_t timestamp, in } AVInputFormat ff_filmstrip_demuxer = { - "filmstrip", - NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), - sizeof(FilmstripDemuxContext), - NULL, - read_header, - read_packet, - NULL, - read_seek, + .name = "filmstrip", + .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), + .priv_data_size = sizeof(FilmstripDemuxContext), + .read_header = read_header, + .read_packet = read_packet, + .read_seek = read_seek, .extensions = "flm", }; |