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

Stan Seibert volsung at xiph.org
Sun Dec 16 14:56:57 PST 2001



volsung     01/12/16 14:56:57

  Modified:    ogg123   Tag: volsung_kc_20011011 ogg123.c
  Log:
  Fixed deadlock caused by Ctrl-C during playback.

Revision  Changes    Path
No                   revision

No                   revision

1.39.2.30.2.24 +3 -2      vorbis-tools/ogg123/ogg123.c

Index: ogg123.c
===================================================================
RCS file: /usr/local/cvsroot/vorbis-tools/ogg123/ogg123.c,v
retrieving revision 1.39.2.30.2.23
retrieving revision 1.39.2.30.2.24
diff -u -r1.39.2.30.2.23 -r1.39.2.30.2.24
--- ogg123.c	2001/12/16 21:45:25	1.39.2.30.2.23
+++ ogg123.c	2001/12/16 22:56:56	1.39.2.30.2.24
@@ -14,7 +14,7 @@
  *                                                                  *
  ********************************************************************
 
- last mod: $Id: ogg123.c,v 1.39.2.30.2.23 2001/12/16 21:45:25 volsung Exp $
+ last mod: $Id: ogg123.c,v 1.39.2.30.2.24 2001/12/16 22:56:56 volsung Exp $
 
  ********************************************************************/
 
@@ -521,7 +521,8 @@
   alarm(0);  
   format->cleanup(decoder);
   transport->close(source);
-  
+  status_reset_output_lock();  /* In case we were killed mid-output */
+
   status_message(1, "Done.");
   
   if (sig_request.exit)

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