Commit 822de665 authored by conrad's avatar conrad

add support for reading vorbis and theora comments


git-svn-id: http://svn.annodex.net/liboggz/trunk@2565 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent e95e7651
......@@ -782,10 +782,14 @@ oggz_auto_read_comments (OGGZ * oggz, oggz_stream_t * stream, long serialno,
switch (stream->content) {
case OGGZ_CONTENT_VORBIS:
if (op->bytes > 7 && memcmp (op->packet, "\003vorbis", 7) == 0)
offset = 7;
break;
case OGGZ_CONTENT_SPEEX:
offset = 0; break;
case OGGZ_CONTENT_THEORA:
if (op->bytes > 7 && memcmp (op->packet, "\201theora", 7) == 0)
offset = 7;
break;
default:
break;
......
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