diff options
author | Diego Biurrun <diego@biurrun.de> | 2011-04-25 02:22:46 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2011-04-25 15:41:10 +0200 |
commit | 46cb2da1f0acb23d4c54aefafc7d062c2f85c249 (patch) | |
tree | ace553e9d5715291f7c1d88242f927ea08f55c9e /libavcodec/flashsvenc.c | |
parent | 23f40a07888018ff8a5ae8e74e15b6bae57bcae0 (diff) | |
download | ffmpeg-46cb2da1f0acb23d4c54aefafc7d062c2f85c249.tar.gz |
flashsv: Employ explicit AVCodec struct initializers.
Diffstat (limited to 'libavcodec/flashsvenc.c')
-rw-r--r-- | libavcodec/flashsvenc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c index 86e77aaff7..9a72b07c13 100644 --- a/libavcodec/flashsvenc.c +++ b/libavcodec/flashsvenc.c @@ -288,14 +288,14 @@ static av_cold int flashsv_encode_end(AVCodecContext *avctx) } AVCodec ff_flashsv_encoder = { - "flashsv", - AVMEDIA_TYPE_VIDEO, - CODEC_ID_FLASHSV, - sizeof(FlashSVContext), - flashsv_encode_init, - flashsv_encode_frame, - flashsv_encode_end, - .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, - .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), + .name = "flashsv", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_FLASHSV, + .priv_data_size = sizeof(FlashSVContext), + .init = flashsv_encode_init, + .encode = flashsv_encode_frame, + .close = flashsv_encode_end, + .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE}, + .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video"), }; |