summaryrefslogtreecommitdiff
path: root/libswscale/swscale_internal.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2008-09-04 20:16:41 +0000
committerMichael Niedermayer <michaelni@gmx.at>2008-09-04 20:16:41 +0000
commitd52337af7052e0562f0c4c3d5c4b747960fd16f9 (patch)
tree858462189b3076cf6bf6b0c8a88a6950490c2c41 /libswscale/swscale_internal.h
parent7372e9bbe5380ee8c95464fc6f48cbd4939ac72b (diff)
Remove workaround for rgb/bgr mess.
Originally committed as revision 27520 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale
Diffstat (limited to 'libswscale/swscale_internal.h')
-rw-r--r--libswscale/swscale_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libswscale/swscale_internal.h b/libswscale/swscale_internal.h
index a20b26ef5a..a14e85cf30 100644
--- a/libswscale/swscale_internal.h
+++ b/libswscale/swscale_internal.h
@@ -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 \