mirror of https://git.ffmpeg.org/ffmpeg.git
swscale: fix usePal()
Fixes Ticket1702 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
340e8e0b22
commit
f4c020e3ad
|
@ -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…
Reference in New Issue