[FFmpeg-cvslog] cosmetics: indentation

Peter Ross git at videolan.org
Sat Apr 2 20:17:40 CEST 2011


ffmpeg | branch: master | Peter Ross <pross at xvid.org> | Sat Apr  2 15:59:44 2011 +1100| [ba24c5a3d3ca4e2e67c0947df9a6360ccccf084c] | committer: Michael Niedermayer

cosmetics: indentation

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=ba24c5a3d3ca4e2e67c0947df9a6360ccccf084c
---

 libavcodec/dpxenc.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/libavcodec/dpxenc.c b/libavcodec/dpxenc.c
index eeae189..8612858 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;



More information about the ffmpeg-cvslog mailing list