[xiph-cvs] cvs commit: ices/src stream.c

Brendan brendan at xiph.org
Tue Mar 11 15:15:47 PST 2003



brendan     03/03/11 18:15:46

  Modified:    .        BUGS
               src      stream.c
  Log:
  Empty line returned from playlist script means shut down.

Revision  Changes    Path
1.5       +2 -2      ices/BUGS

Index: BUGS
===================================================================
RCS file: /cvs/ice/ices/BUGS,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -r1.4 -r1.5
--- BUGS	5 Mar 2003 18:20:11 -0000	1.4
+++ BUGS	11 Mar 2003 23:15:46 -0000	1.5
@@ -1,3 +1,3 @@
 * Handles error conditions poorly.
-* Unreliable at reencoding VBR files.
-* Crashes occasionally when reencoding, probably due to a buffer overrun.
+* Unreliable at reencoding VBR files (fixed?)
+* May crash when reencoding if bad input is fed to the lame library.

<p><p>1.46      +5 -0      ices/src/stream.c

Index: stream.c
===================================================================
RCS file: /cvs/ice/ices/src/stream.c,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -r1.45 -r1.46
--- stream.c	11 Mar 2003 03:33:48 -0000	1.45
+++ stream.c	11 Mar 2003 23:15:46 -0000	1.46
@@ -92,6 +92,11 @@
       ices_setup_shutdown ();
     }
 
+    if (source.path[0] == '\0') {
+      ices_log ("Playlist file name is empty, shutting down.");
+      ices_setup_shutdown ();
+    }
+
     /* This stops ices from entering a loop with 10-20 lines of output per
          second. Usually caused by a playlist handler that produces only
          invalid file names. */

<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