summaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsetheora.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-08-12 23:09:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-08-12 23:09:45 +0200
commitbb7073921c75b1b4f793fca5123f42ac0da0b9b6 (patch)
tree357bdbc4f05aeb27c795ff4537f8c892d77cec11 /libavformat/oggparsetheora.c
parentba752dc0164e176ceb457ebd143a5f0bb7dbeb7e (diff)
downloadffmpeg-streaming-bb7073921c75b1b4f793fca5123f42ac0da0b9b6.zip
ffmpeg-streaming-bb7073921c75b1b4f793fca5123f42ac0da0b9b6.tar.gz
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c
index ff68fe4..7762c00 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);
}
OpenPOWER on IntegriCloud