diff options
author | Paul B Mahol <onemda@gmail.com> | 2013-07-28 00:45:48 +0400 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2013-07-28 00:45:48 +0400 |
commit | 6a574942040c85f170e1a51618c84ecba0ce6b97 (patch) | |
tree | 08f84f347ee76b44665da1775be2b49279ae8fa2 /libavcodec/dpxenc.c | |
parent | 9d099b9ae4b6753139f2001487d2f0677d68e68e (diff) |
dpxenc: cosmetics: reindent
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diffstat (limited to 'libavcodec/dpxenc.c')
-rw-r--r-- | libavcodec/dpxenc.c | 29 |
1 files changed, 12 insertions, 17 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c index 0a4662d78a..c3e43983cc 100644 --- a/libavcodec/dpxenc.c +++ b/libavcodec/dpxenc.c @@ -234,23 +234,18 @@ static int encode_frame(AVCodecContext *avctx, AVPacket *pkt, } AVCodec ff_dpx_encoder = { - .name = "dpx", - .type = AVMEDIA_TYPE_VIDEO, - .id = AV_CODEC_ID_DPX, + .name = "dpx", + .type = AVMEDIA_TYPE_VIDEO, + .id = AV_CODEC_ID_DPX, .priv_data_size = sizeof(DPXContext), - .init = encode_init, - .encode2 = encode_frame, - .pix_fmts = (const enum AVPixelFormat[]){ - AV_PIX_FMT_RGB24, - AV_PIX_FMT_RGBA, - AV_PIX_FMT_RGB48LE, - AV_PIX_FMT_RGB48BE, - AV_PIX_FMT_RGBA64LE, - AV_PIX_FMT_RGBA64BE, - AV_PIX_FMT_GBRP10LE, - AV_PIX_FMT_GBRP10BE, - AV_PIX_FMT_GBRP12LE, - AV_PIX_FMT_GBRP12BE, + .init = encode_init, + .encode2 = encode_frame, + .pix_fmts = (const enum AVPixelFormat[]){ + AV_PIX_FMT_RGB24, AV_PIX_FMT_RGBA, + AV_PIX_FMT_RGB48LE, AV_PIX_FMT_RGB48BE, + AV_PIX_FMT_RGBA64LE, AV_PIX_FMT_RGBA64BE, + AV_PIX_FMT_GBRP10LE, AV_PIX_FMT_GBRP10BE, + AV_PIX_FMT_GBRP12LE, AV_PIX_FMT_GBRP12BE, AV_PIX_FMT_NONE}, - .long_name = NULL_IF_CONFIG_SMALL("DPX image"), + .long_name = NULL_IF_CONFIG_SMALL("DPX image"), }; |