[xiph-cvs] cvs commit: vorbis-tools/ogg123 ogg123.c

Stan Seibert volsung at xiph.org
Tue Jan 1 07:43:31 PST 2002



volsung     02/01/01 07:43:30

  Modified:    ogg123   ogg123.c
  Log:
  Whoops.  We need to preserve the update interval between calls.  Otherwise
  in a playlist of files with identical audio formats, we would lose the
  update interval on every file after the first.  Updates would then occur
  at max speed, and cause flickering.

Revision  Changes    Path
1.57      +2 -2      vorbis-tools/ogg123/ogg123.c

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -r1.56 -r1.57
--- ogg123.c	2001/12/24 15:58:03	1.56
+++ ogg123.c	2002/01/01 15:43:29	1.57
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.56 2001/12/24 15:58:03 volsung Exp $
+ last mod: $Id: ogg123.c,v 1.57 2002/01/01 15:43:29 volsung Exp $
 
  ********************************************************************/
 
@@ -357,7 +357,7 @@
   int eof = 0, eos = 0, ret;
   int nthc = 0, ntimesc = 0;
   int next_status = 0;
-  int status_interval = 0;
+  static int status_interval = 0;
 
 
   /* Set preferred audio format (used by decoder) */

--- >8 ----
List archives:  http://www.xiph.org/archives/
Ogg project homepage: http://www.xiph.org/ogg/
To unsubscribe from this list, send a message to 'cvs-request at xiph.org'
containing only the word 'unsubscribe' in the body.  No subject is needed.
Unsubscribe messages sent to the list will be ignored/filtered.



More information about the commits mailing list