Michael Smith <msmith@xiph.org> wrote:> On Thursday 08 July 2004 17:06, Kyungjoon Lee wrote:
> > One liner to add 1.1 rc1 to list of recognized files.
>
> Committed, thanks.
I see you also applied part of my previous patch, though without any
mention of it in the log message... Below is an updated patch with
the rest, i.e. the OGM type streams.
--- ogginfo2.c (revision 7054)
+++ ogginfo2.c (working copy)
@@ -574,6 +574,12 @@
other_start(stream, "speex");
else if(packet.bytes >= 7 && memcmp(packet.packet,
"\200theora", 7)==0)
other_start(stream, "Theora");
+ else if(packet.bytes >= 9 && memcmp(packet.packet,
"\001video\0\0\0", 9)==0)
+ other_start(stream, "OGM video");
+ else if(packet.bytes >= 9 && memcmp(packet.packet,
"\001audio\0\0\0", 9)==0)
+ other_start(stream, "OGM audio");
+ else if(packet.bytes >= 9 && memcmp(packet.packet,
"\001text\0\0\0\0", 9)==0)
+ other_start(stream, "OGM subtitles");
else
other_start(stream, NULL);
--
Patrik R?dman
patrik at iki dot fi
http://www.iki.fi/patrik/