aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/oggparsetheora.c
diff options
context:
space:
mode:
authorDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:44 +0000
committerDavid Conrad <lessen42@gmail.com>2010-03-12 05:16:44 +0000
commitb53cde48bdc807fe5126eee7dc116812c6607974 (patch)
treeb336762104972379b9ac19793af70763c5f0bc47 /libavformat/oggparsetheora.c
parente4d2d8c5d720d84997a24178acd9553f23077c03 (diff)
downloadffmpeg-b53cde48bdc807fe5126eee7dc116812c6607974.tar.gz
oggdec: Metadata is per-stream; don't merge multiple streams' together
Originally committed as revision 22473 to svn://svn.ffmpeg.org/ffmpeg/trunk
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 4cbb62a169..ecd2bbe011 100644
--- a/libavformat/oggparsetheora.c
+++ b/libavformat/oggparsetheora.c
@@ -109,7 +109,7 @@ theora_header (AVFormatContext * s, int idx)
st->need_parsing = AVSTREAM_PARSE_HEADERS;
} else if (os->buf[os->pstart] == 0x83) {
- ff_vorbis_comment (s, os->buf + os->pstart + 7, os->psize - 8);
+ ff_vorbis_comment (s, &st->metadata, os->buf + os->pstart + 7, os->psize - 8);
}
st->codec->extradata = av_realloc (st->codec->extradata,