cosmetics: indentation
authorPeter Ross <pross@xvid.org>
Sat, 2 Apr 2011 04:59:44 +0000 (15:59 +1100)
committerMichael Niedermayer <michaelni@gmx.at>
Sat, 2 Apr 2011 16:30:33 +0000 (18:30 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/dpxenc.c

index eeae189..8612858 100644 (file)
@@ -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;