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/filmstripenc.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/filmstripenc.c')
-rw-r--r-- | libavformat/filmstripenc.c | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/libavformat/filmstripenc.c b/libavformat/filmstripenc.c index 21f47550af..0e554081d5 100644 --- a/libavformat/filmstripenc.c +++ b/libavformat/filmstripenc.c @@ -72,14 +72,13 @@ static int write_trailer(AVFormatContext *s) } AVOutputFormat ff_filmstrip_muxer = { - "filmstrip", - NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), - NULL, - "flm", - sizeof(FilmstripMuxContext), - CODEC_ID_NONE, - CODEC_ID_RAWVIDEO, - write_header, - write_packet, - write_trailer, + .name = "filmstrip", + .long_name = NULL_IF_CONFIG_SMALL("Adobe Filmstrip"), + .extensions = "flm", + .priv_data_size = sizeof(FilmstripMuxContext), + .audio_codec = CODEC_ID_NONE, + .video_codec = CODEC_ID_RAWVIDEO, + .write_header = write_header, + .write_packet = write_packet, + .write_trailer = write_trailer, }; |