swscale: fix usePal()

Fixes Ticket1702

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-30 13:37:03 +02:00
parent 340e8e0b22
commit f4c020e3ad
1 changed files with 1 additions and 2 deletions

View File

@ -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];