changeset 11467:d3fc1feb652a

Small format fixes.
author mosu
date Sat, 15 Nov 2003 22:46:47 +0000
parents 5cdfc3ef39f8
children bb3e24e796eb
files libmpdemux/demux_ogg.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/libmpdemux/demux_ogg.c	Sat Nov 15 22:27:02 2003 +0000
+++ b/libmpdemux/demux_ogg.c	Sat Nov 15 22:46:47 2003 +0000
@@ -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");