From 79756dee65321784a6e12cd855bc101b5ed34ef4 Mon Sep 17 00:00:00 2001 From: Mounir Lamouri (volkmar) Date: Fri, 2 Oct 2009 23:06:14 +0200 Subject: [PATCH] Fix kate module compilation for Big Endians (typo). --- modules/codec/kate.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/modules/codec/kate.c b/modules/codec/kate.c index 0c5f89a..871bcd7 100644 --- a/modules/codec/kate.c +++ b/modules/codec/kate.c @@ -852,7 +852,7 @@ static void PostprocessTigerImage( plane_t *p_plane, unsigned int i_width ) if( a ) { #ifdef WORDS_BIGENDIAN - uint8_t tmp = pixel[2]; + uint8_t tmp = p_pixel[2]; p_pixel[0] = p_pixel[3] * 255 / a; p_pixel[3] = a; p_pixel[2] = p_pixel[1] * 255 / a; -- 1.6.3.3