Commit fb97ca60 authored by conrad's avatar conrad

oggdec: Parse theora headers since ogg might not mark keyframes

Fixes issue746

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@22214 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 34f8eda0
......@@ -106,6 +106,7 @@ theora_header (AVFormatContext * s, int idx)
st->codec->codec_type = CODEC_TYPE_VIDEO;
st->codec->codec_id = CODEC_ID_THEORA;
st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (os->buf[os->pstart] == 0x83) {
vorbis_comment (s, 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