[Mplayer-cvslog] CVS: main xacodec.h,1.3,1.4

Atmosfear atmos4 at mplayerhq.hu
Wed Jul 10 10:56:09 CEST 2002


Update of /cvsroot/mplayer/main
In directory mail:/var/tmp.root/cvs-serv1550

Modified Files:
	xacodec.h 
Log Message:
Patch by Alan Young <ayoung at teleport.com>: Fix xacodec type mismatch, which
is exploited on 64bit-archs (where sizeof(int) != sizeof(long))


Index: xacodec.h
===================================================================
RCS file: /cvsroot/mplayer/main/xacodec.h,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- xacodec.h	30 Oct 2001 17:38:09 -0000	1.3
+++ xacodec.h	10 Jul 2002 08:56:06 -0000	1.4
@@ -29,15 +29,15 @@
 typedef struct
 {
   void			*anim_hdr;
-  unsigned long		compression;
-  unsigned long		x, y;
-  unsigned long		depth;
+  unsigned int		compression;
+  unsigned int		x, y;
+  unsigned int		depth;
   void			*extra;
-  unsigned long		xapi_rev;
-  unsigned long		(*decoder)();
+  unsigned int		xapi_rev;
+  unsigned int		(*decoder)();
   char			*description;
-  unsigned long		avi_ctab_flag;
-  unsigned long		(*avi_read_ext)();
+  unsigned int		avi_ctab_flag;
+  unsigned int		(*avi_read_ext)();
 } XA_CODEC_HDR;
 
 #define CODEC_SUPPORTED 1




More information about the MPlayer-cvslog mailing list