diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2011-09-26 00:19:56 +0200 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2011-09-26 00:22:41 +0200 |
commit | c894449fc4a5a3d1ff1530318a015b0f0d0d5558 (patch) | |
tree | e3e80fa9eceb5321fca21819df48c1bb48e84617 /libavformat/wtvenc.c | |
parent | f85c9b77712214373d09e7d608e6a9dd3b465f5e (diff) | |
download | ffmpeg-c894449fc4a5a3d1ff1530318a015b0f0d0d5558.tar.gz |
act, bintext, wtvenc: use named struct initializers
Diffstat (limited to 'libavformat/wtvenc.c')
-rw-r--r-- | libavformat/wtvenc.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libavformat/wtvenc.c b/libavformat/wtvenc.c index d638dcb205..b571833920 100644 --- a/libavformat/wtvenc.c +++ b/libavformat/wtvenc.c @@ -708,15 +708,15 @@ static int write_trailer(AVFormatContext *s) } AVOutputFormat ff_wtv_muxer = { - "wtv", - NULL_IF_CONFIG_SMALL("Windows Television (WTV)"), - NULL, - "wtv", - sizeof(WtvContext), - CODEC_ID_MP2, - CODEC_ID_MPEG2VIDEO, - write_header, - write_packet, - write_trailer, - .codec_tag= (const AVCodecTag* const []){ff_codec_bmp_tags, ff_codec_wav_tags, 0}, + .name = "wtv", + .long_name = NULL_IF_CONFIG_SMALL("Windows Television (WTV)"), + .extensions = "wtv", + .priv_data_size = sizeof(WtvContext), + .audio_codec = CODEC_ID_MP2, + .video_codec = CODEC_ID_MPEG2VIDEO, + .write_header = write_header, + .write_packet = write_packet, + .write_trailer = write_trailer, + .codec_tag = (const AVCodecTag* const []){ ff_codec_bmp_tags, + ff_codec_wav_tags, 0 }, }; |