]> git.sesse.net Git - ffmpeg/commitdiff
oggparsetheora: fix metadata parsing
authorMichael Niedermayer <michaelni@gmx.at>
Sun, 12 Aug 2012 21:09:45 +0000 (23:09 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Sun, 12 Aug 2012 21:09:45 +0000 (23:09 +0200)
Fixes Ticket1508
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggparsetheora.c

index ff68fe47344b65f0708623a95114794cfcd25741..7762c00475432aa35f41c34b07d17fbdb3f600fa 100644 (file)
@@ -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);
     }