]> git.sesse.net Git - ffmpeg/commitdiff
avcodec/ylc: Reindent after previous commit
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 8 Mar 2021 15:08:52 +0000 (16:08 +0100)
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>
Mon, 8 Mar 2021 16:37:05 +0000 (17:37 +0100)
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
libavcodec/ylc.c

index 793d8846b5de68d1abf81b836a1abd149da844b0..ab1f8958f3ccac3daec1436aee25edd73afccb45 100644 (file)
@@ -326,15 +326,15 @@ static int decode_frame(AVCodecContext *avctx,
 
     for (int i = 0; i < 4; i++) {
         for (x = 0; x < 256; x++) {
-        unsigned len = get_unary(&gb, 1, 31);
-        uint32_t val = ((1U << len) - 1) + get_bits_long(&gb, len);
+            unsigned len = get_unary(&gb, 1, 31);
+            uint32_t val = ((1U << len) - 1) + get_bits_long(&gb, len);
 
-        s->table[x] = val;
-    }
+            s->table[x] = val;
+        }
 
         ret = build_vlc(avctx, &s->vlc[i], s->table);
-    if (ret < 0)
-        return ret;
+        if (ret < 0)
+            return ret;
     }
 
     memcpy(s->buffer, avpkt->data + boffset, avpkt->size - boffset);