[FFmpeg-cvslog] oggparsetheora: fix metadata parsing
Michael Niedermayer
git at videolan.org
Sun Aug 12 23:17:00 CEST 2012
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Aug 12 23:09:45 2012 +0200| [bb7073921c75b1b4f793fca5123f42ac0da0b9b6] | committer: Michael Niedermayer
oggparsetheora: fix metadata parsing
Fixes Ticket1508
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=bb7073921c75b1b4f793fca5123f42ac0da0b9b6
---
libavformat/oggparsetheora.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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);
}
More information about the ffmpeg-cvslog
mailing list