diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 13:37:03 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-30 13:37:03 +0200 |
commit | f4c020e3ad0a2a1412cc94b3d7df7063b37ae429 (patch) | |
tree | 080f159cd9b500a00b9eec0678f1a8a648c1fcfb | |
parent | 340e8e0b228177955c17b4555035066a23e93a32 (diff) | |
download | ffmpeg-streaming-f4c020e3ad0a2a1412cc94b3d7df7063b37ae429.zip ffmpeg-streaming-f4c020e3ad0a2a1412cc94b3d7df7063b37ae429.tar.gz |
swscale: fix usePal()
Fixes Ticket1702
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r-- | libswscale/swscale_internal.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h index 7643179..21b37ce 100644 --- a/libswscale/swscale_internal.h +++ b/libswscale/swscale_internal.h @@ -691,8 +691,7 @@ const char *sws_format_name(enum PixelFormat format); (PIX_FMT_PLANAR | PIX_FMT_RGB)) == (PIX_FMT_PLANAR | PIX_FMT_RGB)) #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) + (av_pix_fmt_descriptors[x].flags & PIX_FMT_PSEUDOPAL)) extern const uint64_t ff_dither4[2]; extern const uint64_t ff_dither8[2]; |