]> git.sesse.net Git - ffmpeg/commitdiff
avfilter/showvolume : indent after prev commit
authorMartin Vignali <martin.vignali@gmail.com>
Fri, 30 Mar 2018 19:16:47 +0000 (21:16 +0200)
committerPaul B Mahol <onemda@gmail.com>
Sat, 31 Mar 2018 07:11:43 +0000 (09:11 +0200)
libavfilter/avf_showvolume.c

index db16733202cc39a804e0c7884c44b00663b0b32c..6c47cce19f5198cfe6e6055940f30dbe55b29ba5 100644 (file)
@@ -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++) {