Commit bb707392 authored by Michael Niedermayer's avatar Michael Niedermayer

oggparsetheora: fix metadata parsing

Fixes Ticket1508
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent ba752dc0
......@@ -110,7 +110,7 @@ theora_header (AVFormatContext * s, int idx)
st->codec->codec_id = AV_CODEC_ID_THEORA;
st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (os->buf[os->pstart] == 0x83) {
} else if (os->buf[os->pstart] == 0x81) {
ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8);
}
......
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