Mercurial > mplayer.hg
changeset 27488:92479ee7ad6e
Remove workaround for rgb/bgr mess.
author | michael |
---|---|
date | Thu, 04 Sep 2008 20:16:41 +0000 |
parents | 31ac930fd1d4 |
children | 1ef12885a1e4 |
files | libswscale/swscale_internal.h |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale_internal.h Thu Sep 04 19:49:13 2008 +0000 +++ b/libswscale/swscale_internal.h Thu Sep 04 20:16:41 2008 +0000 @@ -221,7 +221,7 @@ || (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 @@ || (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 \