[xiph-commits] r14544 - trunk/vorbis-tools/ogginfo
giles at svn.xiph.org
giles at svn.xiph.org
Wed Feb 27 15:19:33 PST 2008
Author: giles
Date: 2008-02-27 15:19:33 -0800 (Wed, 27 Feb 2008)
New Revision: 14544
Modified:
trunk/vorbis-tools/ogginfo/ogginfo2.c
Log:
Add the new-style Dirac magic and deprecate the old.
Modified: trunk/vorbis-tools/ogginfo/ogginfo2.c
===================================================================
--- trunk/vorbis-tools/ogginfo/ogginfo2.c 2008-02-27 14:23:38 UTC (rev 14543)
+++ trunk/vorbis-tools/ogginfo/ogginfo2.c 2008-02-27 23:19:33 UTC (rev 14544)
@@ -808,8 +808,10 @@
other_start(stream, "speex");
else if(packet.bytes >= 8 && memcmp(packet.packet, "fishead\0", 8)==0)
other_start(stream, "skeleton");
+ else if(packet.bytes >= 5 && memcmp(packet.packet, "BBCD\0", 5)==0)
+ other_start(stream, "dirac");
else if(packet.bytes >= 8 && memcmp(packet.packet, "KW-DIRAC", 8)==0)
- other_start(stream, "dirac");
+ other_start(stream, "dirac (old style)");
else if(packet.bytes >= 9 && memcmp(packet.packet, "\x80kate\0\0\0\0", 9)==0)
other_start(stream, "kate");
else
More information about the commits
mailing list