aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-05 00:22:40 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-05 00:22:40 +0000
commit8b6bdb6cf3908fdd1b162e3bade1d3fdb84ab1a5 (patch)
tree67380d79d2b592c0eec440f5460086c0c8d2b860
parent8ef94840236a220975173e51d4056efeba4afe2d (diff)
downloadffmpeg-8b6bdb6cf3908fdd1b162e3bade1d3fdb84ab1a5.tar.gz
oggdec: Parse theora headers since ogg might not mark keyframes
Fixes issue746 Originally committed as revision 22214 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--libavformat/oggparsetheora.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c
index 8b35a47224..edb823ef5c 100644
--- a/libavformat/oggparsetheora.c
+++ b/libavformat/oggparsetheora.c
@@ -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);