diff options
author | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-18 12:26:57 +0000 |
---|---|---|
committer | pontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2002-01-18 12:26:57 +0000 |
commit | edba49f1b871567fc504921432caf00ef6b02779 (patch) | |
tree | 092aa23df950475ec21035bbdab219405fcb6efe | |
parent | 5ac70db841b1c4edb1df485e0c409dfa14902e93 (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.c | 2 |
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 ) { |