[xiph-commits] r11184 - icecast/trunk/icecast/src

msmith at svn.xiph.org msmith at svn.xiph.org
Thu Apr 20 09:51:30 PDT 2006


Author: msmith
Date: 2006-04-20 09:51:27 -0700 (Thu, 20 Apr 2006)
New Revision: 11184

Modified:
   icecast/trunk/icecast/src/format_ogg.c
Log:
Set error if we have an unrecognised codec, so that we properly drop the source
rather than just continuing forever on unrecognisable input.


Modified: icecast/trunk/icecast/src/format_ogg.c
===================================================================
--- icecast/trunk/icecast/src/format_ogg.c	2006-04-20 16:22:02 UTC (rev 11183)
+++ icecast/trunk/icecast/src/format_ogg.c	2006-04-20 16:51:27 UTC (rev 11184)
@@ -240,6 +240,7 @@
 
         /* any others */
         ERROR0 ("Seen BOS page with unknown type");
+        ogg_info->error = 1;
         return -1;
     } while (0);
 



More information about the commits mailing list