projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad446e
)
oggparsetheora: fix comment header parsing
author
Giorgio Vazzana
<mywing81@gmail.com>
Fri, 5 Oct 2012 11:37:20 +0000
(13:37 +0200)
committer
Martin Storsjö
<martin@martin.st>
Mon, 14 Jan 2013 18:47:27 +0000
(20:47 +0200)
Pass the correct header size to ff_vorbis_comment()
Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/oggparsetheora.c
patch
|
blob
|
history
diff --git
a/libavformat/oggparsetheora.c
b/libavformat/oggparsetheora.c
index dfb73c9bd1aeb6d114d97770afda6df2ff637da8..ed31d539d9f9f48877210dca2b55463d9b369340 100644
(file)
--- 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;