summaryrefslogtreecommitdiff
path: root/libavcodec/dpxenc.c
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2011-04-02 15:59:44 +1100
committerMichael Niedermayer <michaelni@gmx.at>2011-04-02 18:30:33 +0200
commitba24c5a3d3ca4e2e67c0947df9a6360ccccf084c (patch)
tree1eb61c273069f155a17a7aae55a668df8b0abf51 /libavcodec/dpxenc.c
parent4ec720059cc1ddfa849c4d199f4fd974d8ab5d92 (diff)
cosmetics: indentation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/dpxenc.c')
-rw-r--r--libavcodec/dpxenc.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index eeae1894ca..8612858984 100644
--- a/libavcodec/dpxenc.c
+++ b/libavcodec/dpxenc.c
@@ -136,11 +136,11 @@ static int encode_frame(AVCodecContext *avctx, unsigned char *buf, int buf_size,
switch(s->bits_per_component) {
case 8:
case 16:
- size = avpicture_layout((AVPicture*)data, avctx->pix_fmt,
- avctx->width, avctx->height,
- buf + HEADER_SIZE, buf_size - HEADER_SIZE);
- if (size < 0)
- return size;
+ size = avpicture_layout((AVPicture*)data, avctx->pix_fmt,
+ avctx->width, avctx->height,
+ buf + HEADER_SIZE, buf_size - HEADER_SIZE);
+ if (size < 0)
+ return size;
break;
case 10:
size = avctx->height * avctx->width * 4;