Commit 9b0fc821 authored by Mounir Lamouri (volkmar)'s avatar Mounir Lamouri (volkmar) Committed by Christophe Mutricy

Fix kate module compilation for Big Endians (typo).

Signed-off-by: default avatarChristophe Mutricy <xtophe@videolan.org>
parent aa44644c
...@@ -852,7 +852,7 @@ static void PostprocessTigerImage( plane_t *p_plane, unsigned int i_width ) ...@@ -852,7 +852,7 @@ static void PostprocessTigerImage( plane_t *p_plane, unsigned int i_width )
if( a ) if( a )
{ {
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
uint8_t tmp = pixel[2]; uint8_t tmp = p_pixel[2];
p_pixel[0] = p_pixel[3] * 255 / a; p_pixel[0] = p_pixel[3] * 255 / a;
p_pixel[3] = a; p_pixel[3] = a;
p_pixel[2] = p_pixel[1] * 255 / a; p_pixel[2] = p_pixel[1] * 255 / a;
......
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