[FFmpeg-cvslog] avfilter/vf_fade: reindent after previous commit

Paul B Mahol git at videolan.org
Mon Dec 23 21:26:25 EET 2019


ffmpeg | branch: master | Paul B Mahol <onemda at gmail.com> | Mon Dec 23 20:24:36 2019 +0100| [547b0c61af17c74fc906d0630c82a4c8ec94147e] | committer: Paul B Mahol

avfilter/vf_fade: reindent after previous commit

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=547b0c61af17c74fc906d0630c82a4c8ec94147e
---

 libavfilter/vf_fade.c | 18 +++++++++---------
 1 file changed, 9 insertions(+), 9 deletions(-)

diff --git a/libavfilter/vf_fade.c b/libavfilter/vf_fade.c
index 12b0d0c876..6fa02e6bfa 100644
--- a/libavfilter/vf_fade.c
+++ b/libavfilter/vf_fade.c
@@ -262,17 +262,17 @@ static int filter_slice_luma(AVFilterContext *ctx, void *arg, int jobnr,
     int i, j;
 
     for (int k = 0; k < 1 + 2 * (s->is_planar && s->is_rgb); k++) {
-    for (i = slice_start; i < slice_end; i++) {
-        uint8_t *p = frame->data[k] + i * frame->linesize[k];
-        for (j = 0; j < frame->width * s->bpp; j++) {
-            /* s->factor is using 16 lower-order bits for decimal
-             * places. 32768 = 1 << 15, it is an integer representation
-             * of 0.5 and is for rounding. */
-            *p = ((*p - s->black_level) * s->factor + s->black_level_scaled) >> 16;
-            p++;
+        for (i = slice_start; i < slice_end; i++) {
+            uint8_t *p = frame->data[k] + i * frame->linesize[k];
+            for (j = 0; j < frame->width * s->bpp; j++) {
+                /* s->factor is using 16 lower-order bits for decimal
+                 * places. 32768 = 1 << 15, it is an integer representation
+                 * of 0.5 and is for rounding. */
+                *p = ((*p - s->black_level) * s->factor + s->black_level_scaled) >> 16;
+                p++;
+            }
         }
     }
-    }
 
     return 0;
 }



More information about the ffmpeg-cvslog mailing list