aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pngenc.c
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2012-04-06 19:19:39 +0300
committerMartin Storsjö <martin@martin.st>2012-04-06 22:37:38 +0300
commit00c3b67b8ac6bfdc5a01535173dc537824a53d6e (patch)
tree5e792eb0a8fa6cc4f1b1c039b12e733309dfc7d4 /libavcodec/pngenc.c
parent6d27d8b1dddc779d5800ace3f96697c91eca51dd (diff)
downloadffmpeg-00c3b67b8ac6bfdc5a01535173dc537824a53d6e.tar.gz
cosmetics: Align codec declarations
Also break some long lines, remove codec function placeholder comments and add spaces in sample/pixel format lists. Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/pngenc.c')
-rw-r--r--libavcodec/pngenc.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/libavcodec/pngenc.c b/libavcodec/pngenc.c
index d79c800867..947c7e147b 100644
--- a/libavcodec/pngenc.c
+++ b/libavcodec/pngenc.c
@@ -460,6 +460,9 @@ AVCodec ff_png_encoder = {
.priv_data_size = sizeof(PNGEncContext),
.init = png_enc_init,
.encode2 = encode_frame,
- .pix_fmts= (const enum PixelFormat[]){PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8, PIX_FMT_MONOBLACK, PIX_FMT_NONE},
- .long_name= NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
+ .pix_fmts = (const enum PixelFormat[]){
+ PIX_FMT_RGB24, PIX_FMT_RGB32, PIX_FMT_PAL8, PIX_FMT_GRAY8,
+ PIX_FMT_MONOBLACK, PIX_FMT_NONE
+ },
+ .long_name = NULL_IF_CONFIG_SMALL("PNG (Portable Network Graphics) image"),
};