[Mplayer-cvslog] CVS: main/libmp1e libmp1e.h,1.1,1.2 rte.c,1.1,1.2 rtepriv.h,1.1,1.2

David Holm mswitch at mplayer.dev.hu
Fri Dec 7 13:38:44 CET 2001


Update of /cvsroot/mplayer/main/libmp1e
In directory mplayer:/var/tmp.root/cvs-serv16719

Modified Files:
	libmp1e.h rte.c rtepriv.h 
Log Message:
FreeBSD compatibility patch


Index: libmp1e.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmp1e/libmp1e.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- libmp1e.h	4 Dec 2001 23:53:53 -0000	1.1
+++ libmp1e.h	7 Dec 2001 12:38:41 -0000	1.2
@@ -192,8 +192,8 @@
   (off_t)-1 in case of error. This is the same value as lseek returns
   (see 'man lseek')
 */
-typedef off64_t (*rteSeekCallback)(rte_context * context,
-				   off64_t offset,
+typedef unsigned (*rteSeekCallback)(rte_context * context,
+				   unsigned offset,
 				   int whence,
 				   void * user_data);
 

Index: rte.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmp1e/rte.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rte.c	4 Dec 2001 23:53:53 -0000	1.1
+++ rte.c	7 Dec 2001 12:38:41 -0000	1.2
@@ -213,8 +213,8 @@
 }
 
 /* The default seek callback */
-static off64_t default_seek_callback ( rte_context * context,
-				     off64_t offset,
+static unsigned default_seek_callback ( rte_context * context,
+				     unsigned offset,
 				     int whence,
 				     void * user_data)
 {

Index: rtepriv.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmp1e/rtepriv.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- rtepriv.h	4 Dec 2001 23:53:53 -0000	1.1
+++ rtepriv.h	7 Dec 2001 12:38:41 -0000	1.2
@@ -296,6 +296,6 @@
 	return r;
 }
 
-#endif
+#endif /* rtepriv.h */
 
 




More information about the MPlayer-cvslog mailing list