[FFmpeg-devel] [PATCH 3/3] adpcm_thp: Reindent

James Almer jamrial at gmail.com
Mon May 13 00:47:16 CEST 2013


Signed-off-by: James Almer <jamrial at gmail.com>
---
 libavcodec/adpcm.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index a9ce4d8..deaca67 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1371,15 +1371,15 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
                 for (n = 0; n < 16; n++)
                     table[i][n] = sign_extend(bytestream2_get_be16u(&tb), 16);
         } else {
-        for (i = 0; i < avctx->channels; i++)
-            for (n = 0; n < 16; n++)
-                table[i][n] = sign_extend(bytestream2_get_be16u(&gb), 16);
+            for (i = 0; i < avctx->channels; i++)
+                for (n = 0; n < 16; n++)
+                    table[i][n] = sign_extend(bytestream2_get_be16u(&gb), 16);
 
-        /* Initialize the previous sample.  */
-        for (i = 0; i < avctx->channels; i++) {
-            c->status[i].sample1 = sign_extend(bytestream2_get_be16u(&gb), 16);
-            c->status[i].sample2 = sign_extend(bytestream2_get_be16u(&gb), 16);
-        }
+            /* Initialize the previous sample.  */
+            for (i = 0; i < avctx->channels; i++) {
+                c->status[i].sample1 = sign_extend(bytestream2_get_be16u(&gb), 16);
+                c->status[i].sample2 = sign_extend(bytestream2_get_be16u(&gb), 16);
+            }
         }
 
         for (ch = 0; ch < avctx->channels; ch++) {
-- 
1.8.1.msysgit.1




More information about the ffmpeg-devel mailing list