Cosmetics, indentation.
authorBenjamin Larsson <banan@ludd.ltu.se>
Sun, 19 Aug 2007 20:34:27 +0000 (20:34 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sun, 19 Aug 2007 20:34:27 +0000 (20:34 +0000)
Originally committed as revision 10145 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/adpcm.c

index feeeb5c..d5fa6bc 100644 (file)
@@ -543,10 +543,10 @@ static int adpcm_encode_frame(AVCodecContext *avctx,
                     put_bits(&pb, 4, buf[1][i]);
             }
         } else {
-        for (i=1; i<avctx->frame_size; i++) {
-            put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF);
-            if (avctx->channels == 2)
-                put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF);
+            for (i=1; i<avctx->frame_size; i++) {
+                put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[0], samples[avctx->channels*i]) & 0xF);
+                if (avctx->channels == 2)
+                    put_bits(&pb, 4, adpcm_ima_compress_sample(&c->status[1], samples[2*i+1]) & 0xF);
             }
         }
         flush_put_bits(&pb);