diff options
author | Diego Biurrun <diego@biurrun.de> | 2012-04-01 12:34:10 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2012-04-13 21:22:00 +0400 |
commit | ef0ee7f657e66d91162d2b4fad882ece9fbb264e (patch) | |
tree | fd785cfe63776eebdfa8136b294ba287b0ffcb58 /libswscale/swscale_internal.h | |
parent | 90a43060077dbbca7ef161a584e95cbc7466264d (diff) |
swscale: K&R formatting cosmetics (part II)
Also adjust some comments including wording and typo fixes.
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index aa56aa70db..2a7d2dbd1d 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -614,8 +614,8 @@ const char *sws_format_name(enum PixelFormat format); (isRGBinInt(x) || \ isBGRinInt(x)) -#define isALPHA(x) \ - (av_pix_fmt_descriptors[x].nb_components == 2 || \ +#define isALPHA(x) \ + (av_pix_fmt_descriptors[x].nb_components == 2 || \ av_pix_fmt_descriptors[x].nb_components == 4) #define isPacked(x) \ @@ -623,7 +623,7 @@ const char *sws_format_name(enum PixelFormat format); !(av_pix_fmt_descriptors[x].flags & PIX_FMT_PLANAR)) || \ (x) == PIX_FMT_PAL8) -#define isPlanar(x) \ +#define isPlanar(x) \ (av_pix_fmt_descriptors[x].nb_components >= 2 && \ (av_pix_fmt_descriptors[x].flags & PIX_FMT_PLANAR)) @@ -635,7 +635,7 @@ const char *sws_format_name(enum PixelFormat format); ((av_pix_fmt_descriptors[x].flags & \ (PIX_FMT_PLANAR | PIX_FMT_RGB)) == (PIX_FMT_PLANAR | PIX_FMT_RGB)) -#define usePal(x) ((av_pix_fmt_descriptors[x].flags & PIX_FMT_PAL) || \ +#define usePal(x) ((av_pix_fmt_descriptors[x].flags & PIX_FMT_PAL) || \ (av_pix_fmt_descriptors[x].flags & PIX_FMT_PSEUDOPAL) || \ (x) == PIX_FMT_Y400A) |