Commit f2671197 authored by Cédric Schieli's avatar Cédric Schieli
Browse files

Fix chroma shift when scaling from ARGB on LE and BGRA on BE

Originally committed as revision 29242 to svn://
parent 418f77ec
......@@ -2533,7 +2533,7 @@ inline static void RENAME(hcscale)(SwsContext *c, uint16_t *dst, long dstWidth,
if (isGray(srcFormat) || srcFormat==PIX_FMT_MONOBLACK || srcFormat==PIX_FMT_MONOWHITE)
if (srcFormat==PIX_FMT_RGB32_1) {
if (srcFormat==PIX_FMT_RGB32_1 || srcFormat==PIX_FMT_BGR32_1) {
src1 += ALT32_CORR;
src2 += ALT32_CORR;
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