[SCM] libav/experimental: Cosmetics: fix indentation in lclenc.c

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:46:58 UTC 2013


The following commit has been merged in the experimental branch:
commit 8f033e3e035374308289b6b34474af6b0f0c3d84
Author: Reimar Döffinger <Reimar.Doeffinger at gmx.de>
Date:   Sun May 31 08:38:51 2009 +0000

    Cosmetics: fix indentation in lclenc.c
    
    Originally committed as revision 19027 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/lclenc.c b/libavcodec/lclenc.c
index 8bae7c7..1e6bebb 100644
--- a/libavcodec/lclenc.c
+++ b/libavcodec/lclenc.c
@@ -52,8 +52,8 @@
  */
 typedef struct LclEncContext {
 
-        AVCodecContext *avctx;
-        AVFrame pic;
+    AVCodecContext *avctx;
+    AVFrame pic;
     PutBitContext pb;
 
     // Image type
@@ -175,9 +175,9 @@ static av_cold int encode_init(AVCodecContext *avctx)
         return 1;
     }
 
-        /* Conservative upper bound taken from zlib v1.2.1 source */
-        c->max_comp_size = c->decomp_size + ((c->decomp_size + 7) >> 3) +
-                           ((c->decomp_size + 63) >> 6) + 11;
+    /* Conservative upper bound taken from zlib v1.2.1 source */
+    c->max_comp_size = c->decomp_size + ((c->decomp_size + 7) >> 3) +
+                       ((c->decomp_size + 63) >> 6) + 11;
     if ((c->comp_buf = av_malloc(c->max_comp_size)) == NULL) {
         av_log(avctx, AV_LOG_ERROR, "Can't allocate compression buffer.\n");
         return 1;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list