diff options
author | Martin Vignali <martin.vignali@gmail.com> | 2018-03-30 21:16:47 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2018-03-31 09:11:43 +0200 |
commit | 328df2f71234aa817e2279ec9fdadb81dca0b149 (patch) | |
tree | 358176e84799137489cbdc3aef32a12122a21974 | |
parent | 25b22666a3c05ae15a5d6cc3b0be5c8b034f00f6 (diff) | |
download | ffmpeg-328df2f71234aa817e2279ec9fdadb81dca0b149.tar.gz |
avfilter/showvolume : indent after prev commit
-rw-r--r-- | libavfilter/avf_showvolume.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libavfilter/avf_showvolume.c b/libavfilter/avf_showvolume.c index db16733202..6c47cce19f 100644 --- a/libavfilter/avf_showvolume.c +++ b/libavfilter/avf_showvolume.c @@ -274,18 +274,18 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *insamples) s->out->pts = insamples->pts; if (s->f < 1.) { - for (j = 0; j < outlink->h; j++) { - uint8_t *dst = s->out->data[0] + j * s->out->linesize[0]; - const uint32_t alpha = s->bgopacity * 255; - - for (k = 0; k < outlink->w; k++) { - dst[k * 4 + 0] = FFMAX(dst[k * 4 + 0] * s->f, 0); - dst[k * 4 + 1] = FFMAX(dst[k * 4 + 1] * s->f, 0); - dst[k * 4 + 2] = FFMAX(dst[k * 4 + 2] * s->f, 0); - dst[k * 4 + 3] = FFMAX(dst[k * 4 + 3] * s->f, alpha); + for (j = 0; j < outlink->h; j++) { + uint8_t *dst = s->out->data[0] + j * s->out->linesize[0]; + const uint32_t alpha = s->bgopacity * 255; + + for (k = 0; k < outlink->w; k++) { + dst[k * 4 + 0] = FFMAX(dst[k * 4 + 0] * s->f, 0); + dst[k * 4 + 1] = FFMAX(dst[k * 4 + 1] * s->f, 0); + dst[k * 4 + 2] = FFMAX(dst[k * 4 + 2] * s->f, 0); + dst[k * 4 + 3] = FFMAX(dst[k * 4 + 3] * s->f, alpha); + } } } - } if (s->orientation) { /* vertical */ for (c = 0; c < inlink->channels; c++) { |