[Mplayer-cvslog] CVS: main/libmpdemux stream.h,1.22,1.23

Alex Beregszaszi alex at mplayer.dev.hu
Sat Jan 5 20:21:08 CET 2002


Update of /cvsroot/mplayer/main/libmpdemux
In directory mplayer:/var/tmp.root/cvs-serv11804

Modified Files:
	stream.h 
Log Message:
added stream_read_qword by Chris Bednar

Index: stream.h
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/stream.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- stream.h	3 Jan 2002 11:59:43 -0000	1.22
+++ stream.h	5 Jan 2002 19:21:06 -0000	1.23
@@ -96,6 +96,19 @@
   return y;
 }
 
+inline static uint64_t stream_read_qword(stream_t *s){
+  uint64_t y;
+  y = stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  y=(y<<8)|stream_read_char(s);
+  return y;
+}
+
 inline static int stream_read(stream_t *s,char* mem,int total){
   int len=total;
   while(len>0){




More information about the MPlayer-cvslog mailing list