Commit 31010d99 authored by conrad's avatar conrad

Put proper capitalization on codec names


git-svn-id: http://svn.annodex.net/liboggz/trunk@1086 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 3d68459f
......@@ -141,12 +141,12 @@ ot_speex_info (unsigned char * data, long len)
}
static const OTCodecIdent codec_ident[] = {
{"\200theora", 7, "theora", ot_theora_info},
{"\001vorbis", 7, "vorbis", ot_vorbis_info},
{"Speex", 5, "speex", ot_speex_info},
{"CMML\0\0\0\0", 8, "cmml", NULL},
{"Annodex", 8, "annodex", NULL},
{"fishead", 8, "skeleton", NULL},
{"\200theora", 7, "Theora", ot_theora_info},
{"\001vorbis", 7, "Vorbis", ot_vorbis_info},
{"Speex", 5, "Speex", ot_speex_info},
{"CMML\0\0\0\0", 8, "CMML", NULL},
{"Annodex", 8, "Annodex", NULL},
{"fishead", 8, "Skeleton", NULL},
{NULL}
};
......
......@@ -161,7 +161,7 @@ filter_stream_p (const ORData *ordata, ORStream *stream,
n = oggz_table_size (ordata->content_types_table);
for (i = 0; i < n; i++) {
char * c = oggz_table_nth (ordata->content_types_table, i, NULL);
if (strcmp (c, stream->content_type) == 0)
if (strcasecmp (c, stream->content_type) == 0)
return 1;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment