diff options
author | Giorgio Vazzana <mywing81@gmail.com> | 2012-10-05 13:37:20 +0200 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2013-01-14 20:47:27 +0200 |
commit | 39403c6c1baf9035d376bf4d7d5b196a6006ce27 (patch) | |
tree | 9df0f6e923f10d00424232e09b54150a28f26bba /libavformat/oggparsetheora.c | |
parent | bad446e251405dc250c3cbee199072e083a1e4b9 (diff) | |
download | ffmpeg-39403c6c1baf9035d376bf4d7d5b196a6006ce27.tar.gz |
oggparsetheora: fix comment header parsing
Pass the correct header size to ff_vorbis_comment()
Signed-off-by: Martin Storsjö <martin@martin.st>
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 dfb73c9bd1..ed31d539d9 100644 --- a/libavformat/oggparsetheora.c +++ b/libavformat/oggparsetheora.c @@ -114,7 +114,7 @@ theora_header (AVFormatContext * s, int idx) } break; case 0x81: - ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8); + ff_vorbis_comment(s, &st->metadata, os->buf + os->pstart + 7, os->psize - 7); case 0x82: if (!thp->version) return -1; |