[MPlayer-dev-eng] [PATCH][GUI] png "incompatible type" and "no newline"

Dominik Mierzejewski dominik at rangers.eu.org
Sat Dec 28 20:12:41 CET 2002


Missing #include, proper types for Width and Height, and the usual missing
newline.

-- 
MPlayer RPMs maintainer: http://www.piorunek.pl/~dominik/linux/pkgs/mplayer/
"The Universe doesn't give you any points for doing things that are easy."
        -- Sheridan to Garibaldi in Babylon 5:"The Geometry of Shadows"
-------------- next part --------------
--- MPlayer-20021226/Gui/bitmap.h.gui	Sat Nov  2 18:07:18 2002
+++ MPlayer-20021226/Gui/bitmap.h	Fri Dec 27 00:43:38 2002
@@ -1,11 +1,12 @@
-
 #ifndef __MYSAMPLE
 #define __MYSAMPLE
 
+#include <png.h>
+
 typedef struct _txSample
 {
- unsigned int  Width;
- unsigned int  Height;
+ png_uint_32   Width;
+ png_uint_32   Height;
  unsigned int  BPP;
  unsigned long ImageSize;
  char *        Image;
--- MPlayer-20021226/Gui/app.c.gui	Tue Dec  3 20:58:38 2002
+++ MPlayer-20021226/Gui/app.c	Fri Dec 27 00:43:38 2002
@@ -192,4 +192,3 @@
  for ( j=0;j<appMPlayer.NumberOfItems + 1;j++ )
    if ( appMPlayer.Items[j].msg == event ) appMPlayer.Items[j].pressed=set;
 }
-												    
\ No newline at end of file


More information about the MPlayer-dev-eng mailing list