projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ef9484
)
oggdec: Parse theora headers since ogg might not mark keyframes
author
David Conrad
<lessen42@gmail.com>
Fri, 5 Mar 2010 00:22:40 +0000
(
00:22
+0000)
committer
David Conrad
<lessen42@gmail.com>
Fri, 5 Mar 2010 00:22:40 +0000
(
00:22
+0000)
Fixes issue746
Originally committed as revision 22214 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggparsetheora.c
patch
|
blob
|
history
diff --git
a/libavformat/oggparsetheora.c
b/libavformat/oggparsetheora.c
index
8b35a47
..
edb823e
100644
(file)
--- 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);