[FFmpeg-devel] [PATCH] Curly brackets placement in libswscale.

Michael Niedermayer michaelni
Sun Aug 16 16:52:35 CEST 2009


On Sat, Aug 15, 2009 at 10:17:53PM -0300, Ramiro Polla wrote:
> Hi,
> 
> - Place curly brackets in the same line as while/for/if/switch/else/do;
> - Place curly brackets at column 0 in the next line starting a function.
> 
> Ramiro Polla

>  colorspace-test.c              |   20 -
>  mlib/yuv2rgb_mlib.c            |   17 -
>  options.c                      |    3 
>  ppc/swscale_altivec_template.c |    9 
>  ppc/yuv2rgb_altivec.c          |    6 
>  rgb2rgb.c                      |   39 --
>  rgb2rgb_template.c             |  235 +++++----------
>  sparc/yuv2rgb_vis.c            |    9 
>  swscale-example.c              |   24 -
>  swscale.c                      |  627 ++++++++++++++++++-----------------------
>  swscale_internal.h             |    2 
>  swscale_template.c             |  310 +++++++-------------
>  x86/yuv2rgb_mmx.c              |   16 -
>  x86/yuv2rgb_template.c         |   23 -
>  yuv2rgb.c                      |    5 
>  15 files changed, 579 insertions(+), 766 deletions(-)
> a61190c9960261220aa52b74f8b7045e763d5149  curly_brackets.diff

looks ok


[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20090816/7b312af4/attachment.pgp>



More information about the ffmpeg-devel mailing list