summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-04-25 02:22:46 +0200
committerDiego Biurrun <diego@biurrun.de>2011-04-25 15:41:10 +0200
commit46cb2da1f0acb23d4c54aefafc7d062c2f85c249 (patch)
treeace553e9d5715291f7c1d88242f927ea08f55c9e /libavcodec/flashsv.c
parent23f40a07888018ff8a5ae8e74e15b6bae57bcae0 (diff)
flashsv: Employ explicit AVCodec struct initializers.
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c21
1 files changed, 10 insertions, 11 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 095aadd661..0fdbfded92 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -242,15 +242,14 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
AVCodec ff_flashsv_decoder = {
- "flashsv",
- AVMEDIA_TYPE_VIDEO,
- CODEC_ID_FLASHSV,
- sizeof(FlashSVContext),
- flashsv_decode_init,
- NULL,
- flashsv_decode_end,
- flashsv_decode_frame,
- CODEC_CAP_DR1,
- .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
- .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
+ .name = "flashsv",
+ .type = AVMEDIA_TYPE_VIDEO,
+ .id = CODEC_ID_FLASHSV,
+ .priv_data_size = sizeof(FlashSVContext),
+ .init = flashsv_decode_init,
+ .close = flashsv_decode_end,
+ .decode = flashsv_decode_frame,
+ .capabilities = CODEC_CAP_DR1,
+ .pix_fmts = (const enum PixelFormat[]){PIX_FMT_BGR24, PIX_FMT_NONE},
+ .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
};