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/segafilm.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/segafilm.c')
-rw-r--r-- | libavformat/segafilm.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c index 0886825523..81f04c6c01 100644 --- a/libavformat/segafilm.c +++ b/libavformat/segafilm.c @@ -297,11 +297,11 @@ static int film_read_close(AVFormatContext *s) } AVInputFormat ff_segafilm_demuxer = { - "film_cpk", - NULL_IF_CONFIG_SMALL("Sega FILM/CPK format"), - sizeof(FilmDemuxContext), - film_probe, - film_read_header, - film_read_packet, - film_read_close, + .name = "film_cpk", + .long_name = NULL_IF_CONFIG_SMALL("Sega FILM/CPK format"), + .priv_data_size = sizeof(FilmDemuxContext), + .read_probe = film_probe, + .read_header = film_read_header, + .read_packet = film_read_packet, + .read_close = film_read_close, }; |