From 6a574942040c85f170e1a51618c84ecba0ce6b97 Mon Sep 17 00:00:00 2001 From: Paul B Mahol Date: Sat, 27 Jul 2013 20:45:48 +0000 Subject: [PATCH] dpxenc: cosmetics: reindent Signed-off-by: Paul B Mahol --- libavcodec/dpxenc.c | 29 ++++++++++++----------------- 1 file 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"), };