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

Stan Seibert volsung at xiph.org
Tue Sep 2 12:37:06 PDT 2003



volsung     03/09/02 15:37:06

  Modified:    ogg123   ogg123.c
  Log:
  Don't keep resending the buffer if we've quit.  Fixes Debian bug 187396.

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

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -r1.69 -r1.70
--- ogg123.c	1 Sep 2003 23:54:02 -0000	1.69
+++ ogg123.c	2 Sep 2003 19:37:05 -0000	1.70
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.69 2003/09/01 23:54:02 volsung Exp $
+ last mod: $Id: ogg123.c,v 1.70 2003/09/02 19:37:05 volsung Exp $
 
  ********************************************************************/
 
@@ -579,7 +579,8 @@
           nthc = options.nth - 1;
         }
         
-      } while (++ntimesc < options.ntimes);
+      } while (!sig_request.exit && !sig_request.skipfile &&
+	       ++ntimesc < options.ntimes);
 
       ntimesc = 0;
             

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