[FFmpeg-devel] [PATCH 06/13] lavc/adpcm: THP: fix indentation

Rodger Combs rodger.combs at gmail.com
Thu Jun 18 11:03:04 CEST 2015


---
 libavcodec/adpcm.c | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 69ece18..94b4de1 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -1451,15 +1451,15 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
                 for (n = 0; n < 16; n++)
                     table[i][n] = THP_GET16(tb);
         } else {
-        for (i = 0; i < avctx->channels; i++)
-            for (n = 0; n < 16; n++)
-                table[i][n] = THP_GET16(gb);
+            for (i = 0; i < avctx->channels; i++)
+                for (n = 0; n < 16; n++)
+                    table[i][n] = THP_GET16(gb);
 
-        /* Initialize the previous sample.  */
-        for (i = 0; i < avctx->channels; i++) {
-            c->status[i].sample1 = THP_GET16(gb);
-            c->status[i].sample2 = THP_GET16(gb);
-        }
+            /* Initialize the previous sample.  */
+            for (i = 0; i < avctx->channels; i++) {
+                c->status[i].sample1 = THP_GET16(gb);
+                c->status[i].sample2 = THP_GET16(gb);
+            }
         }
 
         for (ch = 0; ch < avctx->channels; ch++) {
-- 
2.4.1



More information about the ffmpeg-devel mailing list