Revision 94bd08b0

View differences:

libswscale/swscale.c
2086 2086
		/* rgb/bgr -> rgb/bgr (no dither needed forms) */
2087 2087
		if(   (isBGR(srcFormat) || isRGB(srcFormat))
2088 2088
		   && (isBGR(dstFormat) || isRGB(dstFormat)) 
2089
		   && srcFormat != PIX_FMT_BGR8 && dstFormat != PIX_FMT_BGR8
2090
		   && srcFormat != PIX_FMT_RGB8 && dstFormat != PIX_FMT_RGB8
2091
		   && srcFormat != PIX_FMT_BGR4 && dstFormat != PIX_FMT_BGR4
2092
		   && srcFormat != PIX_FMT_RGB4 && dstFormat != PIX_FMT_RGB4
2093
		   && srcFormat != PIX_FMT_BGR4_BYTE && dstFormat != PIX_FMT_BGR4_BYTE
2094
		   && srcFormat != PIX_FMT_RGB4_BYTE && dstFormat != PIX_FMT_RGB4_BYTE
2095
		   && srcFormat != PIX_FMT_MONOBLACK && dstFormat != PIX_FMT_MONOBLACK
2089 2096
		   && !needsDither)
2090 2097
			c->swScale= rgb2rgbWrapper;
2091 2098

  

Also available in: Unified diff