Mercurial > mplayer.hg
diff libswscale/swscale_internal.h @ 30814:9257c04720ed
Avoid duplication of usePal() macro.
author | stefano |
---|---|
date | Sat, 06 Mar 2010 11:50:54 +0000 |
parents | 87acb5d9e4aa |
children | 0a999f052474 |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Sat Mar 06 11:27:31 2010 +0000 +++ b/libswscale/swscale_internal.h Sat Mar 06 11:50:54 2010 +0000 @@ -442,6 +442,7 @@ || (x)==PIX_FMT_RGB32_1 \ || (x)==PIX_FMT_YUVA420P \ ) +#define usePal(x) (av_pix_fmt_descriptors[x].flags & PIX_FMT_PAL) extern const uint64_t ff_dither4[2]; extern const uint64_t ff_dither8[2];