aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/adpcm.c
diff options
context:
space:
mode:
authorZane van Iperen <zane@zanevaniperen.com>2021-03-16 10:58:05 +1000
committerZane van Iperen <zane@zanevaniperen.com>2021-03-19 23:38:33 +1000
commitd294c33231228bd6d1ef9d33d3480614b0aebf0a (patch)
treed3bff6eb350616d12c141661cc247bca68377116 /libavcodec/adpcm.c
parent684745230f93e4ae6a081e6d8890b75d42aa184b (diff)
downloadffmpeg-d294c33231228bd6d1ef9d33d3480614b0aebf0a.tar.gz
avcodec/adpcm_ima_cunning: reindent
Signed-off-by: Zane van Iperen <zane@zanevaniperen.com>
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r--libavcodec/adpcm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c
index 44f14763fb..5b6d1040af 100644
--- a/libavcodec/adpcm.c
+++ b/libavcodec/adpcm.c
@@ -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: