diff options
author | Diego Biurrun <diego@biurrun.de> | 2016-07-30 13:47:34 +0200 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2016-08-17 12:16:42 +0200 |
commit | aa37d2bf4505afc106e2a23c44afc722bb204a8e (patch) | |
tree | 37e5b2c35b8eccaeae6a6430190d21fdef90501e /libswscale/swscale_internal.h | |
parent | d5fda00efa756387cffb4d7294691cd54cfe86cf (diff) | |
download | ffmpeg-aa37d2bf4505afc106e2a23c44afc722bb204a8e.tar.gz |
swscale: Kill non-compiling disabled cruft
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r-- | libswscale/swscale_internal.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index a72ac0bd0b..84f8dd339f 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -600,11 +600,6 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt) return (desc->flags & AV_PIX_FMT_FLAG_RGB); } -#if 0 // FIXME -#define isGray(x) \ - (!(av_pix_fmt_descriptors[x].flags & AV_PIX_FMT_FLAG_PAL) && \ - av_pix_fmt_descriptors[x].nb_components <= 2) -#else #define isGray(x) \ ((x) == AV_PIX_FMT_GRAY8 || \ (x) == AV_PIX_FMT_YA8 || \ @@ -612,7 +607,6 @@ static av_always_inline int isRGB(enum AVPixelFormat pix_fmt) (x) == AV_PIX_FMT_GRAY16LE || \ (x) == AV_PIX_FMT_YA16BE || \ (x) == AV_PIX_FMT_YA16LE) -#endif #define isRGBinInt(x) \ ((x) == AV_PIX_FMT_RGB48BE || \ |