diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-10-03 22:57:53 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-10-03 23:32:01 +0200 |
commit | b2bed9325dbd6be0da1d91ffed3f513c40274fd2 (patch) | |
tree | c4794b7e2a2e20e18320ee577fd6261ccd5aed5a /libavcodec/mjpegdec.c | |
parent | 49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff) | |
download | ffmpeg-b2bed9325dbd6be0da1d91ffed3f513c40274fd2.tar.gz |
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/mjpegdec.c')
-rw-r--r-- | libavcodec/mjpegdec.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/mjpegdec.c b/libavcodec/mjpegdec.c index 65bf2645fb..fdf7c87675 100644 --- a/libavcodec/mjpegdec.c +++ b/libavcodec/mjpegdec.c @@ -1684,6 +1684,7 @@ static const AVClass mjpegdec_class = { AVCodec ff_mjpeg_decoder = { .name = "mjpeg", + .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_MJPEG, .priv_data_size = sizeof(MJpegDecodeContext), @@ -1691,12 +1692,12 @@ AVCodec ff_mjpeg_decoder = { .close = ff_mjpeg_decode_end, .decode = ff_mjpeg_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("MJPEG (Motion JPEG)"), .priv_class = &mjpegdec_class, }; AVCodec ff_thp_decoder = { .name = "thp", + .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"), .type = AVMEDIA_TYPE_VIDEO, .id = AV_CODEC_ID_THP, .priv_data_size = sizeof(MJpegDecodeContext), @@ -1704,5 +1705,4 @@ AVCodec ff_thp_decoder = { .close = ff_mjpeg_decode_end, .decode = ff_mjpeg_decode_frame, .capabilities = CODEC_CAP_DR1, - .long_name = NULL_IF_CONFIG_SMALL("Nintendo Gamecube THP video"), }; |