Mercurial > mplayer.hg
changeset 29200:80492f643e9b
Fix chroma shift when scaling from ARGB on LE and BGRA on BE
author | sdrik |
---|---|
date | Sat, 02 May 2009 08:40:53 +0000 |
parents | b224410fe439 |
children | 06e7728c5b34 |
files | libswscale/swscale_template.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/libswscale/swscale_template.c Mon Apr 27 21:41:42 2009 +0000 +++ b/libswscale/swscale_template.c Sat May 02 08:40:53 2009 +0000 @@ -2533,7 +2533,7 @@ if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || srcFormat==PIX_FMT_MONOWHITE) return; - if (srcFormat==PIX_FMT_RGB32_1) { + if (srcFormat==PIX_FMT_RGB32_1 || srcFormat==PIX_FMT_BGR32_1) { src1 += ALT32_CORR; src2 += ALT32_CORR; }