Commit d52337af authored by Michael Niedermayer's avatar Michael Niedermayer

Remove workaround for rgb/bgr mess.

Originally committed as revision 27520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
parent 7372e9bb
......@@ -221,7 +221,7 @@ const char *sws_format_name(int format);
|| (x)==PIX_FMT_GRAY16LE \
)
#define isRGB(x) ( \
(x)==PIX_FMT_BGR32 \
(x)==PIX_FMT_RGB32 \
|| (x)==PIX_FMT_RGB24 \
|| (x)==PIX_FMT_RGB565 \
|| (x)==PIX_FMT_RGB555 \
......@@ -231,7 +231,7 @@ const char *sws_format_name(int format);
|| (x)==PIX_FMT_MONOBLACK \
)
#define isBGR(x) ( \
(x)==PIX_FMT_RGB32 \
(x)==PIX_FMT_BGR32 \
|| (x)==PIX_FMT_BGR24 \
|| (x)==PIX_FMT_BGR565 \
|| (x)==PIX_FMT_BGR555 \
......
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