aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/sp5xdec.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/sp5xdec.c
parent49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff)
downloadffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/sp5xdec.c')
-rw-r--r--libavcodec/sp5xdec.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/sp5xdec.c b/libavcodec/sp5xdec.c
index 90c34911bd..ca6b9fd6f0 100644
--- a/libavcodec/sp5xdec.c
+++ b/libavcodec/sp5xdec.c
@@ -95,6 +95,7 @@ static int sp5x_decode_frame(AVCodecContext *avctx,
AVCodec ff_sp5x_decoder = {
.name = "sp5x",
+ .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_SP5X,
.priv_data_size = sizeof(MJpegDecodeContext),
@@ -102,16 +103,15 @@ AVCodec ff_sp5x_decoder = {
.close = ff_mjpeg_decode_end,
.decode = sp5x_decode_frame,
.capabilities = CODEC_CAP_DR1,
- .long_name = NULL_IF_CONFIG_SMALL("Sunplus JPEG (SP5X)"),
};
AVCodec ff_amv_decoder = {
.name = "amv",
+ .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_AMV,
.priv_data_size = sizeof(MJpegDecodeContext),
.init = ff_mjpeg_decode_init,
.close = ff_mjpeg_decode_end,
.decode = sp5x_decode_frame,
- .long_name = NULL_IF_CONFIG_SMALL("AMV Video"),
};