Signed-off-by: Zane van Iperen <[email protected]>
---
 libavcodec/adpcm.c | 10 +++++-----
 1 file 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:
-- 
2.29.3

_______________________________________________
ffmpeg-devel mailing list
[email protected]
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
[email protected] with subject "unsubscribe".

Reply via email to