[FFmpeg-devel] [PATCH] j2kenc: cosmetics: vertically align AVCodec members.

Paul B Mahol onemda at gmail.com
Mon Mar 26 22:19:01 CEST 2012


Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
 libavcodec/j2kenc.c |   15 +++++++--------
 1 files changed, 7 insertions(+), 8 deletions(-)

diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 56ccd9e..01946bc 100644
--- a/libavcodec/j2kenc.c
+++ b/libavcodec/j2kenc.c
@@ -1050,12 +1050,11 @@ AVCodec ff_jpeg2000_encoder = {
     .init           = j2kenc_init,
     .encode2        = encode_frame,
     .close          = j2kenc_destroy,
-    .capabilities= CODEC_CAP_EXPERIMENTAL,
-    .long_name = NULL_IF_CONFIG_SMALL("JPEG 2000"),
-    .pix_fmts =
-        (const enum PixelFormat[]) {PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8,
-/*                              PIX_FMT_YUV420P,
-                              PIX_FMT_YUV422P, PIX_FMT_YUV444P,
-                              PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
-                              -1}
+    .capabilities   = CODEC_CAP_EXPERIMENTAL,
+    .long_name      = NULL_IF_CONFIG_SMALL("JPEG 2000"),
+    .pix_fmts       = (const enum PixelFormat[]) { PIX_FMT_RGB24, PIX_FMT_YUV444P, PIX_FMT_GRAY8,
+/*                                                 PIX_FMT_YUV420P,
+                                                   PIX_FMT_YUV422P, PIX_FMT_YUV444P,
+                                                   PIX_FMT_YUV410P, PIX_FMT_YUV411P,*/
+                                                   PIX_FMT_NONE }
 };
-- 
1.7.7



More information about the ffmpeg-devel mailing list