[FFmpeg-devel] [PATCH] Remove pointless newlines in swscale.c

Måns Rullgård mans
Sun Jan 17 16:53:40 CET 2010


Stefano Sabatini <stefano.sabatini-lala at poste.it> writes:

> Hi as in subject, there are people which finds those newlines a little
> annoying (read: me ;-)), also a trick to reduce line count.

Fine with me.

> Index: ffmpeg/libswscale/swscale.c
> ===================================================================
> --- ffmpeg.orig/libswscale/swscale.c	2010-01-17 16:25:13.000000000 +0100
> +++ ffmpeg/libswscale/swscale.c	2010-01-17 16:25:27.000000000 +0100
> @@ -771,7 +771,6 @@
>          dest++;\
>      }\
        ^---- Also remove that \ please.
> -
>  #define YSCALE_YUV_2_MONOX_C \
>      const uint8_t * const d128=dither_8x8_220[y&7];\
>      uint8_t *g= c->table_gU[128] + c->table_gV[128];\
> @@ -801,7 +800,6 @@
>          }\
>      }
>  
> -
>  #define YSCALE_YUV_2_ANYRGB_C(func, func2, func_g16, func_monoblack)\
>      switch(c->dstFormat) {\
>      case PIX_FMT_RGB48BE:\
> @@ -991,7 +989,6 @@
>          break;\
>      }\

And that one, and any others you can find.  Perhaps that should be
done in a separate commit.

-- 
M?ns Rullg?rd
mans at mansr.com



More information about the ffmpeg-devel mailing list