aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-10-03 22:57:53 +0200
committerDiego Biurrun <diego@biurrun.de>2013-10-03 23:32:01 +0200
commitb2bed9325dbd6be0da1d91ffed3f513c40274fd2 (patch)
treec4794b7e2a2e20e18320ee577fd6261ccd5aed5a /libavcodec/flashsv.c
parent49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff)
downloadffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c
index 2fbe221bfa..e9749fec33 100644
--- a/libavcodec/flashsv.c
+++ b/libavcodec/flashsv.c
@@ -468,6 +468,7 @@ static av_cold int flashsv_decode_end(AVCodecContext *avctx)
#if CONFIG_FLASHSV_DECODER
AVCodec ff_flashsv_decoder = {
.name = "flashsv",
+ .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_FLASHSV,
.priv_data_size = sizeof(FlashSVContext),
@@ -476,7 +477,6 @@ AVCodec ff_flashsv_decoder = {
.decode = flashsv_decode_frame,
.capabilities = CODEC_CAP_DR1,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
- .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v1"),
};
#endif /* CONFIG_FLASHSV_DECODER */
@@ -531,6 +531,7 @@ static av_cold int flashsv2_decode_end(AVCodecContext *avctx)
AVCodec ff_flashsv2_decoder = {
.name = "flashsv2",
+ .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_FLASHSV2,
.priv_data_size = sizeof(FlashSVContext),
@@ -539,6 +540,5 @@ AVCodec ff_flashsv2_decoder = {
.decode = flashsv_decode_frame,
.capabilities = CODEC_CAP_DR1,
.pix_fmts = (const enum AVPixelFormat[]){ AV_PIX_FMT_BGR24, AV_PIX_FMT_NONE },
- .long_name = NULL_IF_CONFIG_SMALL("Flash Screen Video v2"),
};
#endif /* CONFIG_FLASHSV2_DECODER */