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/avienc.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/avienc.c')
-rw-r--r-- | libavformat/avienc.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavformat/avienc.c b/libavformat/avienc.c index 343396cabe..1dbed8bc80 100644 --- a/libavformat/avienc.c +++ b/libavformat/avienc.c @@ -639,16 +639,16 @@ static int avi_write_trailer(AVFormatContext *s) } AVOutputFormat ff_avi_muxer = { - "avi", - NULL_IF_CONFIG_SMALL("AVI format"), - "video/x-msvideo", - "avi", - sizeof(AVIContext), - CODEC_ID_MP2, - CODEC_ID_MPEG4, - avi_write_header, - avi_write_packet, - avi_write_trailer, + .name = "avi", + .long_name = NULL_IF_CONFIG_SMALL("AVI format"), + .mime_type = "video/x-msvideo", + .extensions = "avi", + .priv_data_size = sizeof(AVIContext), + .audio_codec = CODEC_ID_MP2, + .video_codec = CODEC_ID_MPEG4, + .write_header = avi_write_header, + .write_packet = avi_write_packet, + .write_trailer = avi_write_trailer, .codec_tag= (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0}, .flags= AVFMT_VARIABLE_FPS, }; |