[SCM] libav/experimental: indentation

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


The following commit has been merged in the experimental branch:
commit c20d3ce2554e72f8831da1aa8cadb37860610a71
Author: Baptiste Coudurier <baptiste.coudurier at gmail.com>
Date:   Sun Dec 2 19:28:20 2007 +0000

    indentation
    
    Originally committed as revision 11134 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/dnxhdenc.c b/libavcodec/dnxhdenc.c
index fc4a559..619e768 100644
--- a/libavcodec/dnxhdenc.c
+++ b/libavcodec/dnxhdenc.c
@@ -172,19 +172,19 @@ static int dnxhd_encode_init(AVCodecContext *avctx)
     int i, index;
 
     if (avctx->width == 1920 && avctx->height == 1080) {
-    if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) {
-        if      (avctx->bit_rate == 120000000)
-            ctx->cid = 1242;
-        else if (avctx->bit_rate == 185000000)
-            ctx->cid = 1243;
-    } else {
-        if      (avctx->bit_rate == 120000000)
-            ctx->cid = 1237;
-        else if (avctx->bit_rate == 185000000)
-            ctx->cid = 1238;
-        else if (avctx->bit_rate ==  36000000)
-            ctx->cid = 1253;
-    }
+        if (avctx->flags & CODEC_FLAG_INTERLACED_DCT) {
+            if      (avctx->bit_rate == 120000000)
+                ctx->cid = 1242;
+            else if (avctx->bit_rate == 185000000)
+                ctx->cid = 1243;
+        } else {
+            if      (avctx->bit_rate == 120000000)
+                ctx->cid = 1237;
+            else if (avctx->bit_rate == 185000000)
+                ctx->cid = 1238;
+            else if (avctx->bit_rate ==  36000000)
+                ctx->cid = 1253;
+        }
     } else if (avctx->width == 1280 && avctx->height == 720 &&
                !(avctx->flags & CODEC_FLAG_INTERLACED_DCT)) {
             if      (avctx->bit_rate ==  90000000)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list