diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 01:09:45 +0400 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-13 01:09:45 +0400 |
commit | bb7073921c75b1b4f793fca5123f42ac0da0b9b6 (patch) | |
tree | 357bdbc4f05aeb27c795ff4537f8c892d77cec11 /libavformat/oggparsetheora.c | |
parent | ba752dc0164e176ceb457ebd143a5f0bb7dbeb7e (diff) |
oggparsetheora: fix metadata parsing
Fixes Ticket1508
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsetheora.c')
-rw-r--r-- | libavformat/oggparsetheora.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c index ff68fe4734..7762c00475 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -110,7 +110,7 @@ theora_header (AVFormatContext * s, int idx) st->codec->codec_id = AV_CODEC_ID_THEORA; st->need_parsing = AVSTREAM_PARSE_HEADERS; - } else if (os->buf[os->pstart] == 0x83) { + } else if (os->buf[os->pstart] == 0x81) { ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8); } |