aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-18 12:26:57 +0000
committerGravatar pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-18 12:26:57 +0000
commitedba49f1b871567fc504921432caf00ef6b02779 (patch)
tree092aa23df950475ec21035bbdab219405fcb6efe
parent5ac70db841b1c4edb1df485e0c409dfa14902e93 (diff)
'40bit' - es png nincs is :)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4238 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r--Gui/bitmap/png/png.c2
1 files changed, 1 insertions, 1 deletions
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 )
{