[MPlayer-cvslog] r27520 - trunk/libswscale/swscale_internal.h
michael
subversion at mplayerhq.hu
Thu Sep 4 22:16:41 CEST 2008
Author: michael
Date: Thu Sep 4 22:16:41 2008
New Revision: 27520
Log:
Remove workaround for rgb/bgr mess.
Modified:
trunk/libswscale/swscale_internal.h
Modified: trunk/libswscale/swscale_internal.h
==============================================================================
--- trunk/libswscale/swscale_internal.h (original)
+++ trunk/libswscale/swscale_internal.h Thu Sep 4 22:16:41 2008
@@ -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 \
More information about the MPlayer-cvslog
mailing list