Mercurial > libavformat.hg
changeset 5751:4d38b2c2bc59 libavformat
oggdec: Parse theora headers since ogg might not mark keyframes
Fixes issue746
author | conrad |
---|---|
date | Fri, 05 Mar 2010 00:22:40 +0000 |
parents | 0f9c0db923e5 |
children | cb840f900fef |
files | oggparsetheora.c |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/oggparsetheora.c Thu Mar 04 15:08:54 2010 +0000 +++ b/oggparsetheora.c Fri Mar 05 00:22:40 2010 +0000 @@ -106,6 +106,7 @@ 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);