oggparsetheora: fix metadata parsing

Fixes Ticket1508
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-08-12 23:09:45 +02:00
parent ba752dc016
commit bb7073921c

View File

@ -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);
}