From edba49f1b871567fc504921432caf00ef6b02779 Mon Sep 17 00:00:00 2001 From: pontscho Date: Fri, 18 Jan 2002 12:26:57 +0000 Subject: '40bit' - es png nincs is :) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4238 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/bitmap/png/png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gui/bitmap/png') diff --git a/Gui/bitmap/png/png.c b/Gui/bitmap/png/png.c index 524796bedf..113a22b095 100644 --- a/Gui/bitmap/png/png.c +++ b/Gui/bitmap/png/png.c @@ -113,7 +113,7 @@ int pngRead( unsigned char * fname,txSample * bf ) } bf->Width=raw.Width; bf->Height=raw.Height; - bf->BPP=( raw.Depth * raw.Components ) + raw.Alpha; + bf->BPP=( raw.Depth * raw.Components ); bf->ImageSize=bf->Width * bf->Height * ( bf->BPP / 8 ); if ( ( bf->Image=malloc( bf->ImageSize ) ) == NULL ) { -- cgit v1.2.3