[Mplayer-cvslog] CVS: main/libmpdemux demux_ogg.c,1.37,1.38

Moritz Bunkus CVS mosu at mplayerhq.hu
Sat Nov 15 23:47:13 CET 2003


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

Modified Files:
	demux_ogg.c 
Log Message:
Small format fixes.

Index: demux_ogg.c
===================================================================
RCS file: /cvsroot/mplayer/main/libmpdemux/demux_ogg.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -r1.37 -r1.38
--- demux_ogg.c	15 Nov 2003 20:00:31 -0000	1.37
+++ demux_ogg.c	15 Nov 2003 22:46:47 -0000	1.38
@@ -478,7 +478,7 @@
   while(1) {
     np = ogg_sync_pageseek(sync,page);
     if(np < 0) { // We had to skip some bytes
-      mp_msg(MSGT_DEMUX,MSGL_ERR,"Bad page sync while building syncpoints table (%ld)\n",-np);
+      mp_msg(MSGT_DEMUX,MSGL_ERR,"Bad page sync while building syncpoints table (%d)\n",-np);
       pos += -np;
       continue;
     }
@@ -517,7 +517,7 @@
     if(p > 1 || (p == 1 && ! ogg_page_continued(page)))
       last_pos = pos;
     pos += np;
-    mp_msg(MSGT_DEMUX,MSGL_INFO,"Building syncpoint table %d%\r",pos*100/s->end_pos);
+    mp_msg(MSGT_DEMUX,MSGL_INFO,"Building syncpoint table %d%%\r",(int)(pos*100/s->end_pos));
   }
   mp_msg(MSGT_DEMUX,MSGL_INFO,"\n");
 



More information about the MPlayer-cvslog mailing list