This is a known bug upstream:

http://trac.xiph.org/cgi-bin/trac.cgi/ticket/471

There's a patch that works for me which could be applied now:

--- vorbis-tools-1.0.1.orig/ogg123/buffer.c     2003-09-01 21:15:19 +0100
+++ vorbis-tools-1.0.1/ogg123/buffer.c  2005-04-21 17:28:23 +0100
@@ -165,7 +165,7 @@

 int compute_dequeue_size (buf_t *buf, int request_size)
 {
-  int next_action_pos;
+  ogg_int64_t next_action_pos;

   /*
      For simplicity, the number of bytes played must satisfy the following
@@ -180,10 +180,11 @@

     next_action_pos = buf->actions->position;

-    return MIN4(buf->curfill, request_size,
-               buf->size - buf->start, next_action_pos - buf->position);
+    return MIN4((ogg_int64_t)buf->curfill, (ogg_int64_t)request_size,
+               (ogg_int64_t)(buf->size - buf->start),
+               next_action_pos - buf->position);
   } else
-    return MIN3(buf->curfill, request_size, buf->size - buf->start);
+    return MIN3(buf->curfill, (long)request_size, buf->size - buf->start);

 }


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to