aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2012-03-26 20:19:01 +0000
committerMichael Niedermayer <michaelni@gmx.at>2012-03-27 00:49:27 +0200
commit7f9b42ff9d9d36f39c7a8aa26b63ff47f34bd17b (patch)
tree095d082fcb1ebfc52bd2e00c89bb4fc6acaf7e5c
parenta65016205f46d74aa631904ba72a8c70fe32258c (diff)
downloadffmpeg-7f9b42ff9d9d36f39c7a8aa26b63ff47f34bd17b.tar.gz
j2kenc: cosmetics: vertically align AVCodec members.
Signed-off-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/j2kenc.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/libavcodec/j2kenc.c b/libavcodec/j2kenc.c
index 56ccd9ef9c..01946bcece 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 }
};