avfilter/vf_paletteuse: silence warning about misaligned indentation
authorPaul B Mahol <onemda@gmail.com>
Mon, 10 Apr 2017 09:25:44 +0000 (11:25 +0200)
committerPaul B Mahol <onemda@gmail.com>
Mon, 10 Apr 2017 09:25:44 +0000 (11:25 +0200)
Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavfilter/vf_paletteuse.c

index e8dde57..b25c6a9 100644 (file)
@@ -444,7 +444,7 @@ static av_always_inline int set_frame(PaletteUseContext *s, AVFrame *out, AVFram
                 if (down) {
                     if (left2)      src[  src_linesize + x - 2] = dither_color(src[  src_linesize + x - 2], er, eg, eb, 1, 4);
                     if (left)       src[  src_linesize + x - 1] = dither_color(src[  src_linesize + x - 1], er, eg, eb, 2, 4);
-                                    src[  src_linesize + x    ] = dither_color(src[  src_linesize + x    ], er, eg, eb, 3, 4);
+                    if (1)          src[  src_linesize + x    ] = dither_color(src[  src_linesize + x    ], er, eg, eb, 3, 4);
                     if (right)      src[  src_linesize + x + 1] = dither_color(src[  src_linesize + x + 1], er, eg, eb, 2, 4);
                     if (right2)     src[  src_linesize + x + 2] = dither_color(src[  src_linesize + x + 2], er, eg, eb, 1, 4);
                 }