[Mplayer-cvslog] CVS: main/Gui/bitmap/png png.c,1.1,1.2

Zoltan Ponekker pontscho at mplayer.dev.hu
Fri Jan 18 13:27:07 CET 2002


Update of /cvsroot/mplayer/main/Gui/bitmap/png
In directory mplayer:/var/tmp.root/cvs-serv13681

Modified Files:
	png.c 
Log Message:
'40bit' - es png nincs is :)

Index: png.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/bitmap/png/png.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- png.c	25 Aug 2001 21:04:27 -0000	1.1
+++ png.c	18 Jan 2002 12:26:57 -0000	1.2
@@ -113,7 +113,7 @@
   }
  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 )
   {




More information about the MPlayer-cvslog mailing list