[vlc-devel] commit: Fix kate module compilation for Big Endians (typo). ( Mounir Lamouri (volkmar) )
git version control
git at videolan.org
Fri Oct 2 23:18:34 CEST 2009
vlc | branch: master | Mounir Lamouri (volkmar) <mounir.lamouri at gmail.com> | Fri Oct 2 23:06:14 2009 +0200| [9b0fc8211dfa2333a7680afc328ab695d2ba2282] | committer: Christophe Mutricy
Fix kate module compilation for Big Endians (typo).
Signed-off-by: Christophe Mutricy <xtophe at videolan.org>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=9b0fc8211dfa2333a7680afc328ab695d2ba2282
---
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;
More information about the vlc-devel
mailing list