summaryrefslogtreecommitdiff
path: root/libavcodec/pngenc.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/pngenc.c
parent49fe9c05f97bc2cfafd8fdcfea2f313d7c8e2c48 (diff)
cosmetics: Group .name and .long_name together in codec/format declarations
Diffstat (limited to 'libavcodec/pngenc.c')
-rw-r--r--libavcodec/pngenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index 37910a15a3..f39fadd4c6 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -457,6 +457,7 @@ static av_cold int png_enc_init(AVCodecContext *avctx){
AVCodec ff_png_encoder = {
.name = "png",
+ .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
.type = AVMEDIA_TYPE_VIDEO,
.id = AV_CODEC_ID_PNG,
.priv_data_size = sizeof(PNGEncContext),
@@ -467,5 +468,4 @@ AVCodec ff_png_encoder = {
AV_PIX_FMT_GRAY16BE,
AV_PIX_FMT_MONOBLACK, AV_PIX_FMT_NONE
},
- .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
};