swscale: fix usePal()

Fixes Ticket1702

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/28/head
Michael Niedermayer 13 years ago
parent 340e8e0b22
commit f4c020e3ad
  1. 3
      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];

Loading…
Cancel
Save