aboutsummaryrefslogtreecommitdiffstats
path: root/libavfilter/vf_curves.c
diff options
context:
space:
mode:
authorClément Bœsch <u@pkh.me>2016-07-24 12:11:30 +0200
committerClément Bœsch <u@pkh.me>2016-07-24 12:18:30 +0200
commit39c6d4a8c592028a0f4f1a2af0cffe9c977d2ea1 (patch)
tree1087c3eab7d19d9e7fdd78671ad75ed504d47cca /libavfilter/vf_curves.c
parente30cdac14b55ef290e26e055a88055ba9cde2f46 (diff)
downloadffmpeg-39c6d4a8c592028a0f4f1a2af0cffe9c977d2ea1.tar.gz
lavfi/curves: reindent after previous commit
Diffstat (limited to 'libavfilter/vf_curves.c')
-rw-r--r--libavfilter/vf_curves.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/libavfilter/vf_curves.c b/libavfilter/vf_curves.c
index 153ca45b00..722093572d 100644
--- a/libavfilter/vf_curves.c
+++ b/libavfilter/vf_curves.c
@@ -609,20 +609,20 @@ static int filter_slice(AVFilterContext *ctx, void *arg, int jobnr, int nb_jobs)
}
}
} else {
- uint8_t *dst = out->data[0] + slice_start * out->linesize[0];
- const uint8_t *src = in->data[0] + slice_start * in->linesize[0];
-
- for (y = slice_start; y < slice_end; y++) {
- for (x = 0; x < in->width * step; x += step) {
- dst[x + r] = curves->graph[R][src[x + r]];
- dst[x + g] = curves->graph[G][src[x + g]];
- dst[x + b] = curves->graph[B][src[x + b]];
- if (!direct && step == 4)
- dst[x + a] = src[x + a];
+ uint8_t *dst = out->data[0] + slice_start * out->linesize[0];
+ const uint8_t *src = in->data[0] + slice_start * in->linesize[0];
+
+ for (y = slice_start; y < slice_end; y++) {
+ for (x = 0; x < in->width * step; x += step) {
+ dst[x + r] = curves->graph[R][src[x + r]];
+ dst[x + g] = curves->graph[G][src[x + g]];
+ dst[x + b] = curves->graph[B][src[x + b]];
+ if (!direct && step == 4)
+ dst[x + a] = src[x + a];
+ }
+ dst += out->linesize[0];
+ src += in ->linesize[0];
}
- dst += out->linesize[0];
- src += in ->linesize[0];
- }
}
return 0;
}