From bb7073921c75b1b4f793fca5123f42ac0da0b9b6 Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Sun, 12 Aug 2012 23:09:45 +0200 Subject: [PATCH] oggparsetheora: fix metadata parsing Fixes Ticket1508 Signed-off-by: Michael Niedermayer --- libavformat/oggparsetheora.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }