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

Jack Moffitt jack at xiph.org
Mon Oct 30 09:19:59 PST 2000



jack        00/10/30 09:19:59

  Modified:    ogg123   ogg123.c
  Log:
  i forgot who submitted this patch, but now ogg123 doesn't loop at the end
  of the file consuming all your CPU.

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

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- ogg123.c	2000/10/30 16:41:51	1.5
+++ ogg123.c	2000/10/30 17:19:59	1.6
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.5 2000/10/30 16:41:51 jack Exp $
+ last mod: $Id: ogg123.c,v 1.6 2000/10/30 17:19:59 jack Exp $
 
  ********************************************************************/
 
@@ -490,7 +490,7 @@
                         old_section = current_section;
                         switch ((ret = ov_read (&vf, convbuffer, sizeof (convbuffer), is_big_endian, 2, 1, &current_section))) {
                         case 0: /* End of file */
-				eof = 1;
+				eof = eos = 1;
                                 break;
                         case -1: /* Stream error */
                                 fprintf(stderr, "W: Stream error\n");

--- >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