Commit f4c020e3 authored by Michael Niedermayer's avatar Michael Niedermayer

swscale: fix usePal()

Fixes Ticket1702
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 340e8e0b
......@@ -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];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment