avcodec/rl2: Fix indentation

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2022-09-28 18:19:18 +02:00
parent 87f243911e
commit 5f02a261a2
1 changed files with 7 additions and 8 deletions

View File

@ -62,7 +62,6 @@ static void rl2_rle_decode(Rl2Context *s, const uint8_t *in, int size,
int base_x = video_base % s->avctx->width; int base_x = video_base % s->avctx->width;
int base_y = video_base / s->avctx->width; int base_y = video_base / s->avctx->width;
ptrdiff_t stride_adj = stride - s->avctx->width; ptrdiff_t stride_adj = stride - s->avctx->width;
int i;
const uint8_t *back_frame = s->back_frame; const uint8_t *back_frame = s->back_frame;
const uint8_t *in_end = in + size; const uint8_t *in_end = in + size;
const uint8_t *out_end = out + stride * s->avctx->height - stride_adj; const uint8_t *out_end = out + stride * s->avctx->height - stride_adj;
@ -70,7 +69,7 @@ static void rl2_rle_decode(Rl2Context *s, const uint8_t *in, int size,
/** copy start of the background frame */ /** copy start of the background frame */
if (s->back_frame) { if (s->back_frame) {
for (i = 0; i <= base_y; i++) { for (int i = 0; i <= base_y; i++) {
memcpy(out, back_frame, s->avctx->width); memcpy(out, back_frame, s->avctx->width);
out += stride; out += stride;
back_frame += s->avctx->width; back_frame += s->avctx->width;