[xiph-commits] r14441 - trunk/vorbis-tools/ogginfo

ivo at svn.xiph.org ivo at svn.xiph.org
Fri Feb 1 08:59:21 PST 2008


Author: ivo
Date: 2008-02-01 08:59:18 -0800 (Fri, 01 Feb 2008)
New Revision: 14441

Modified:
   trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
Recognize Kate bitstreams.

Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c	2008-02-01 04:15:07 UTC (rev 14440)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c	2008-02-01 16:59:18 UTC (rev 14441)
@@ -809,7 +809,9 @@
         else if(packet.bytes >= 8 && memcmp(packet.packet, "fishead\0", 8)==0) 
             other_start(stream, "skeleton");
         else if(packet.bytes >= 4 && memcmp(packet.packet, "KW-DIRAC", 8)==0) 
-            other_start(stream, "Dirac");
+            other_start(stream, "dirac");
+	else if(packet.bytes >= 7 && memcmp(packet.packet, "\x80kate\0\0\0\0", 8)==0) 
+            other_start(stream, "kate");
         else
             other_start(stream, NULL);
 



More information about the commits mailing list