]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/adpcm_ima_cunning: reindent
authorZane van Iperen <zane@zanevaniperen.com>
Tue, 16 Mar 2021 00:58:05 +0000 (10:58 +1000)
committerZane van Iperen <zane@zanevaniperen.com>
Fri, 19 Mar 2021 13:38:33 +0000 (23:38 +1000)
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
libavcodec/adpcm.c

index 44f14763fb83056976f1f2f3b0782c652f6aab2b..5b6d1040af0572c29829dca980f6129a2481cf97 100644 (file)
@@ -1379,11 +1379,11 @@ static int adpcm_decode_frame(AVCodecContext *avctx, void *data,
     case AV_CODEC_ID_ADPCM_IMA_CUNNING:
         for (channel = 0; channel < avctx->channels; channel++) {
             int16_t *smp = samples_p[channel];
-        for (n = 0; n < nb_samples / 2; n++) {
-            int v = bytestream2_get_byteu(&gb);
-            *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v & 0x0F);
-            *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v >> 4);
-        }
+            for (n = 0; n < nb_samples / 2; n++) {
+                int v = bytestream2_get_byteu(&gb);
+                *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v & 0x0F);
+                *smp++ = adpcm_ima_cunning_expand_nibble(&c->status[channel], v >> 4);
+            }
         }
         break;
     case AV_CODEC_ID_ADPCM_IMA_OKI: