changeset 12324:549a40628c70 libavcodec

cosmetics: line wrap and vertical alignment
author jbr
date Sat, 31 Jul 2010 17:07:24 +0000
parents df22caaab59e
children 6da1651834cb
files flacenc.c
diffstat 1 files changed, 10 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/flacenc.c	Sat Jul 31 17:06:10 2010 +0000
+++ b/flacenc.c	Sat Jul 31 17:07:24 2010 +0000
@@ -864,8 +864,9 @@
             if (order < 0)
                 order = 0;
             encode_residual_lpc(res, smp, n, order+1, coefs[order], shift[order]);
-            bits[i] = find_subblock_rice_params(&sub->rc, min_porder, max_porder,
-                                           res, n, order+1, sub->obits, precision);
+            bits[i] = find_subblock_rice_params(&sub->rc, min_porder,
+                                                max_porder, res, n, order+1,
+                                                sub->obits, precision);
             if (bits[i] < bits[opt_index]) {
                 opt_index = i;
                 opt_order = order;
@@ -879,8 +880,9 @@
         bits[0]   = UINT32_MAX;
         for (i = min_order-1; i < max_order; i++) {
             encode_residual_lpc(res, smp, n, i+1, coefs[i], shift[i]);
-            bits[i] = find_subblock_rice_params(&sub->rc, min_porder, max_porder,
-                                           res, n, i+1, sub->obits, precision);
+            bits[i] = find_subblock_rice_params(&sub->rc, min_porder,
+                                                max_porder, res, n, i+1,
+                                                sub->obits, precision);
             if (bits[i] < bits[opt_order])
                 opt_order = i;
         }
@@ -898,9 +900,9 @@
                 if (i < min_order-1 || i >= max_order || bits[i] < UINT32_MAX)
                     continue;
                 encode_residual_lpc(res, smp, n, i+1, coefs[i], shift[i]);
-                bits[i] = find_subblock_rice_params(&sub->rc, min_porder, max_porder,
-                                               res, n, i+1, sub->obits,
-                                               precision);
+                bits[i] = find_subblock_rice_params(&sub->rc, min_porder,
+                                                    max_porder, res, n, i+1,
+                                                    sub->obits, precision);
                 if (bits[i] < bits[opt_order])
                     opt_order = i;
             }
@@ -918,7 +920,7 @@
     encode_residual_lpc(res, smp, n, sub->order, sub->coefs, sub->shift);
 
     return find_subblock_rice_params(&sub->rc, min_porder, max_porder, res, n,
-                                sub->order, sub->obits, precision);
+                                     sub->order, sub->obits, precision);
 }