mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
oggdec: Parse theora headers since ogg might not mark keyframes
Fixes issue746 Originally committed as revision 22214 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
8ef9484023
commit
8b6bdb6cf3
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user