[MPlayer-dev-eng] [PATCH] vo_tga: fix blue channel on little endian machines

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jun 9 07:41:24 CEST 2010


On Tue, Jun 08, 2010 at 11:00:28PM +0200, Marton Balint wrote:
> The attached patch fixes vo_tga to set the alpha channel to 0xff
> instead of the blue channel, and copy the blue channel data properly
> from the source buffer.

libswscale should set the alpha nowadays, so just changing the vo
to only accept BGRA and doing fwrite without any conversion
(i.e. removing this code piece completely) should be a better
solution.



More information about the MPlayer-dev-eng mailing list