aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-08 16:08:52 +0100
committerAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-08 17:37:05 +0100
commite8c646e9758c36a3a5b1f439810433d7d6827e99 (patch)
tree3ff31ceba83592d10c74e4b95726e825dbbbd6a6
parentd7d33c0376057817d25cca63d4136350ca76a1aa (diff)
downloadffmpeg-e8c646e9758c36a3a5b1f439810433d7d6827e99.tar.gz
avcodec/ylc: Reindent after previous commit
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>
-rw-r--r--libavcodec/ylc.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libavcodec/ylc.c b/libavcodec/ylc.c
index 793d8846b5..ab1f8958f3 100644
--- a/libavcodec/ylc.c
+++ b/libavcodec/ylc.c
@@ -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);